Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108.5 kB / 16.41 MB, free: 6.508 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.00146/0.00146, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001775, allocations: 67.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373/1.375, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004066/1.379, allocations: 1.414 MB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001236/1.38, allocations: 0.4968 MB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/1.38, allocations: 0 / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/1.38, allocations: 3.938 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/1.381, allocations: 27.78 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/1.382, allocations: 225.8 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/1.382, allocations: 147.7 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/1.382, allocations: 4 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/1.382, allocations: 55.89 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/1.382, allocations: 43.83 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/1.382, allocations: 8 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/1.383, allocations: 171.8 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/1.383, allocations: 39.89 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/1.383, allocations: 51.78 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/1.384, allocations: 239.2 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.384, allocations: 0 / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/1.384, allocations: 0 / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.384, allocations: 0 / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008411/1.384, allocations: 448.8 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/1.384, allocations: 12.92 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/1.385, allocations: 12.84 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/1.385, allocations: 210.1 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/1.385, allocations: 12.38 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/1.385, allocations: 8.375 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/1.385, allocations: 91.86 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.385, allocations: 192 / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/1.385, allocations: 3.938 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/1.385, allocations: 0 / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/1.385, allocations: 39.98 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/1.386, allocations: 230.5 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/1.386, allocations: 77.19 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/1.386, allocations: 57.8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/1.386, allocations: 4 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/1.386, allocations: 113 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/1.386, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0003999/1.387, allocations: 189.3 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.387, allocations: 85.05 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/1.387, allocations: 152.4 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/1.387, allocations: 37.7 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/1.387, allocations: 108.5 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/1.387, allocations: 31.55 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/1.387, allocations: 53.7 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.388, allocations: 318.8 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/1.388, allocations: 43.98 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/1.388, allocations: 196.5 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/1.388, allocations: 97.58 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.388, allocations: 3.938 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002349/1.388, allocations: 169.3 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.388, allocations: 7.938 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/1.388, allocations: 4 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.388, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/1.388, allocations: 8 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.389, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/1.389, allocations: 85.36 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/1.389, allocations: 4 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001474/1.389, allocations: 133.7 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/1.389, allocations: 15.83 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/1.389, allocations: 12.72 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.389, allocations: 8 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.389, allocations: 7.938 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/1.389, allocations: 92.95 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/1.389, allocations: 4 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/1.389, allocations: 7.969 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/1.389, allocations: 4 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003208/1.39, allocations: 320.7 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003355/1.39, allocations: 394 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.375e-05/1.39, allocations: 43.95 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001281/1.39, allocations: 111.2 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of Backend: time 8.82e-07/1.39, allocations: 0 / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008247/1.391, allocations: 265.7 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008793/1.392, allocations: 0.6396 MB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.006218/1.398, allocations: 2.584 MB / 1.177 GB, free: 9.066 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches