Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 194.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.755/2.755, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 67.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 140.3 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002987/1.065, allocations: 1.486 MB / 0.951 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001088/1.066, allocations: 0.6896 MB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/1.066, allocations: 0 / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.419e-05/1.066, allocations: 13.08 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.333e-05/1.066, allocations: 15.55 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/1.067, allocations: 345.1 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002467/1.067, allocations: 170.9 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.426e-05/1.067, allocations: 5.312 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.101e-05/1.067, allocations: 66.78 kB / 0.9523 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/1.068, allocations: 51.94 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/1.068, allocations: 11.62 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/1.068, allocations: 267 kB / 0.9526 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/1.068, allocations: 34.12 kB / 0.9526 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.81e-05/1.068, allocations: 69.81 kB / 0.9527 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004064/1.069, allocations: 296.2 kB / 0.953 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.069, allocations: 0 / 0.953 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/1.069, allocations: 0 / 0.953 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.602e-06/1.069, allocations: 1.5 kB / 0.953 GB, free: 6.723 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006905/1.069, allocations: 473.3 kB / 0.9534 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.069, allocations: 14.47 kB / 0.9534 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.93e-05/1.07, allocations: 15 kB / 0.9535 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/1.07, allocations: 210.4 kB / 0.9537 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/1.07, allocations: 5.219 kB / 0.9537 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/1.07, allocations: 15.38 kB / 0.9537 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/1.07, allocations: 91.3 kB / 0.9538 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.07, allocations: 1.594 kB / 0.9538 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/1.07, allocations: 7.938 kB / 0.9538 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.07, allocations: 5.375 kB / 0.9538 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/1.07, allocations: 46.34 kB / 0.9538 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/1.071, allocations: 255.9 kB / 0.9541 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/1.071, allocations: 103.8 kB / 0.9542 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/1.071, allocations: 78.86 kB / 0.9542 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/1.071, allocations: 1.281 kB / 0.9542 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/1.071, allocations: 134.4 kB / 0.9544 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/1.071, allocations: 5.406 kB / 0.9544 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004581/1.072, allocations: 216.9 kB / 0.9546 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/1.072, allocations: 118.4 kB / 0.9547 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/1.072, allocations: 139.8 kB / 0.9548 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/1.072, allocations: 42.84 kB / 0.9549 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/1.072, allocations: 93.89 kB / 0.955 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/1.072, allocations: 60.89 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/1.072, allocations: 60.81 kB / 0.9551 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/1.072, allocations: 334.2 kB / 0.9554 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/1.072, allocations: 45.42 kB / 0.9554 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/1.073, allocations: 174.4 kB / 0.9556 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/1.073, allocations: 137.5 kB / 0.9557 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.073, allocations: 0 / 0.9557 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003429/1.073, allocations: 200.7 kB / 0.9559 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.073, allocations: 6.344 kB / 0.9559 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/1.073, allocations: 3.938 kB / 0.9559 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/1.073, allocations: 5.297 kB / 0.9559 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/1.073, allocations: 18.8 kB / 0.956 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.073, allocations: 2.031 kB / 0.956 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/1.074, allocations: 53.89 kB / 0.956 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/1.074, allocations: 14.08 kB / 0.956 GB, free: 4.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.074, allocations: 132.8 kB / 0.9561 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/1.074, allocations: 13.06 kB / 0.9562 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/1.074, allocations: 16.88 kB / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.074, allocations: 1.031 kB / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.074, allocations: 1 kB / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.074, allocations: 5.719 kB / 0.9562 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/1.074, allocations: 216.8 kB / 0.9564 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.074, allocations: 1.5 kB / 0.9564 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/1.074, allocations: 11.7 kB / 0.9564 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.074, allocations: 1.625 kB / 0.9564 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/1.074, allocations: 6.969 kB / 0.9564 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.074, allocations: 1.688 kB / 0.9564 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.074, allocations: 0 / 0.9564 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/1.074, allocations: 214 kB / 0.9566 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/1.074, allocations: 98.31 kB / 0.9567 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/1.075, allocations: 1.75 kB / 0.9567 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/1.075, allocations: 11.53 kB / 0.9567 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/1.075, allocations: 7.578 kB / 0.9567 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.075, allocations: 9.281 kB / 0.9567 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.885e-05/1.075, allocations: 107.6 kB / 0.9568 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.075, allocations: 1.812 kB / 0.9568 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004135/1.075, allocations: 109.7 kB / 0.957 GB, free: 3.246 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003545/1.076, allocations: 196.2 kB / 0.9571 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003758/1.076, allocations: 227.2 kB / 0.9574 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.076, allocations: 1.594 kB / 0.9574 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/1.076, allocations: 56.39 kB / 0.9574 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/1.076, allocations: 8.031 kB / 0.9574 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/1.077, allocations: 253.6 kB / 0.9577 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/1.077, allocations: 0.7091 MB / 0.9584 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.896e-05/1.077, allocations: 12.84 kB / 0.9584 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/1.077, allocations: 13.75 kB / 0.9584 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/1.077, allocations: 1.094 kB / 0.9584 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.00755/1.085, allocations: 3.082 MB / 0.9614 GB, free: 460 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches