Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_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_latest_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.001546/0.001546, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001905/0.001905, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 472.7 MB / 0.746 GB, free: 476 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 63.91 kB / 1.07 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322/1.323, allocations: 159.9 MB / 1.226 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003536/1.327, allocations: 1.416 MB / 1.228 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001112/1.328, allocations: 0.4983 MB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/1.328, allocations: 0 / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.857e-05/1.328, allocations: 11.92 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/1.328, allocations: 7.938 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/1.329, allocations: 230.8 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/1.33, allocations: 143.7 kB / 1.229 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.243e-05/1.33, allocations: 19.91 kB / 1.229 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/1.33, allocations: 55.91 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/1.33, allocations: 43.84 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/1.33, allocations: 8 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/1.33, allocations: 175.8 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/1.33, allocations: 31.91 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/1.331, allocations: 47.8 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006051/1.331, allocations: 235.9 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/1.331, allocations: 0 / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.071e-06/1.331, allocations: 0 / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.846e-06/1.331, allocations: 3.938 kB / 1.229 GB, free: 10.68 MB / 0.9512 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.0009288/1.332, allocations: 454.7 kB / 1.23 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/1.332, allocations: 8.031 kB / 1.23 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/1.332, allocations: 12.89 kB / 1.23 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/1.333, allocations: 212.1 kB / 1.23 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/1.333, allocations: 8.375 kB / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/1.333, allocations: 12.38 kB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/1.333, allocations: 79.95 kB / 1.23 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/1.333, allocations: 4.188 kB / 1.23 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/1.333, allocations: 7.938 kB / 1.23 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/1.333, allocations: 0 / 1.23 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/1.333, allocations: 43.91 kB / 1.23 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/1.334, allocations: 230.5 kB / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/1.334, allocations: 81.23 kB / 1.23 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.568e-05/1.334, allocations: 61.75 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/1.334, allocations: 0 / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/1.334, allocations: 105.1 kB / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/1.334, allocations: 4 kB / 1.23 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.000439/1.335, allocations: 189.4 kB / 1.231 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/1.335, allocations: 85.09 kB / 1.231 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/1.335, allocations: 159.1 kB / 1.231 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/1.335, allocations: 33.7 kB / 1.231 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/1.335, allocations: 100.5 kB / 1.231 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/1.335, allocations: 39.73 kB / 1.231 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.335, allocations: 45.7 kB / 1.231 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.335, allocations: 326.8 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/1.336, allocations: 43.98 kB / 1.231 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/1.336, allocations: 203.3 kB / 1.232 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/1.336, allocations: 105.6 kB / 1.232 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.336, allocations: 0 / 1.232 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002514/1.336, allocations: 157.5 kB / 1.232 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.336, allocations: 5.25 kB / 1.232 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/1.336, allocations: 4 kB / 1.232 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.336, allocations: 0 / 1.232 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.336, allocations: 15.92 kB / 1.232 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.336, allocations: 3.938 kB / 1.232 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/1.337, allocations: 79.8 kB / 1.232 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/1.337, allocations: 4 kB / 1.232 GB, free: 7.488 MB / 0.9512 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.0001371/1.337, allocations: 142.4 kB / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/1.337, allocations: 11.89 kB / 1.232 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/1.337, allocations: 16.72 kB / 1.232 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.337, allocations: 3.984 kB / 1.232 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.337, allocations: 0 / 1.232 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/1.337, allocations: 89.02 kB / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/1.337, allocations: 4 kB / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/1.337, allocations: 0 / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/1.337, allocations: 11.98 kB / 1.232 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003078/1.337, allocations: 308.7 kB / 1.233 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003407/1.338, allocations: 401.9 kB / 1.233 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.035e-05/1.338, allocations: 39.98 kB / 1.233 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.523e-05/1.338, allocations: 121.1 kB / 1.233 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of Backend: time 6.91e-07/1.338, allocations: 0 / 1.233 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007724/1.339, allocations: 269.5 kB / 1.233 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006435/1.339, allocations: 0.6432 MB / 1.234 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of Templates: time 0.006688/1.346, allocations: 2.612 MB / 1.236 GB, free: 2.758 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches