Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001763/0.001763, allocations: 110 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.645/2.645, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 63.91 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198/1.2, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004358/1.204, allocations: 1.491 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001459/1.206, allocations: 0.689 MB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/1.206, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/1.206, allocations: 15.86 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.867e-05/1.206, allocations: 15.84 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/1.207, allocations: 351 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/1.208, allocations: 175.6 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.525e-05/1.208, allocations: 11.94 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/1.208, allocations: 67.83 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/1.208, allocations: 47.81 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/1.208, allocations: 12 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/1.208, allocations: 247.8 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/1.209, allocations: 35.91 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/1.209, allocations: 67.7 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/1.209, allocations: 307.1 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.209, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.379e-06/1.209, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.209, allocations: 3.938 kB / 1.212 GB, free: 10.12 MB / 0.9356 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.0008367/1.21, allocations: 468.8 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.21, allocations: 8.031 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/1.21, allocations: 16.84 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/1.21, allocations: 212.1 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.21, allocations: 4.375 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/1.211, allocations: 16.36 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/1.211, allocations: 98.91 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.211, allocations: 192 / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/1.211, allocations: 15.88 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.211, allocations: 0 / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/1.211, allocations: 51.91 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/1.211, allocations: 243.4 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/1.211, allocations: 107.9 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/1.212, allocations: 74.66 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/1.212, allocations: 0 / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/1.212, allocations: 141.7 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.243e-06/1.212, allocations: 0 / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0004889/1.212, allocations: 209.5 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.213, allocations: 118.8 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/1.213, allocations: 141.7 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/1.213, allocations: 41.7 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/1.213, allocations: 96.69 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.325e-05/1.213, allocations: 59.23 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.213, allocations: 57.69 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002039/1.213, allocations: 326.8 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/1.213, allocations: 56.25 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/1.214, allocations: 176.5 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/1.214, allocations: 134.5 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.214, allocations: 7.875 kB / 1.214 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003442/1.214, allocations: 201.3 kB / 1.215 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/1.214, allocations: 5.875 kB / 1.215 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/1.214, allocations: 8.922 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/1.215, allocations: 4 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/1.215, allocations: 8 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.215, allocations: 4 kB / 1.215 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/1.215, allocations: 47.8 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/1.215, allocations: 19.98 kB / 1.215 GB, free: 6.664 MB / 0.9356 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.0001933/1.215, allocations: 136.2 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/1.215, allocations: 15.75 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/1.215, allocations: 20.7 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.215, allocations: 0 / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.215, allocations: 4 kB / 1.215 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/1.215, allocations: 85.02 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/1.215, allocations: 0 / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/1.215, allocations: 15.98 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/1.216, allocations: 11.92 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004975/1.216, allocations: 419.3 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004962/1.217, allocations: 0.4948 MB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001013/1.217, allocations: 55.97 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001035/1.217, allocations: 99.27 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of Backend: time 1.413e-06/1.217, allocations: 3.938 kB / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001151/1.218, allocations: 343.3 kB / 1.216 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007806/1.219, allocations: 0.6576 MB / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of Templates: time 0.007317/1.226, allocations: 3.189 MB / 1.22 GB, free: 1.055 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches