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 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.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.001348/0.001348, allocations: 110.1 kB / 16.42 MB, free: 6.473 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.001324/0.001324, allocations: 187.9 kB / 17.35 MB, free: 5.707 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.658/2.658, allocations: 461.7 MB / 0.7353 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 59.91 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241/1.243, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004234/1.247, allocations: 1.415 MB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001183/1.248, allocations: 0.4944 MB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/1.248, allocations: 0 / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/1.249, allocations: 3.938 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/1.249, allocations: 15.86 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009902/1.25, allocations: 231.2 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002832/1.25, allocations: 147.7 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.933e-05/1.25, allocations: 15.94 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/1.25, allocations: 51.91 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/1.25, allocations: 43.77 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/1.25, allocations: 12 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/1.251, allocations: 171.8 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.494e-05/1.251, allocations: 31.91 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.724e-05/1.251, allocations: 51.78 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003943/1.251, allocations: 235.3 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.251, allocations: 4 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.889e-06/1.251, allocations: 3.984 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.251, allocations: 0 / 1.211 GB, free: 10.73 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008686/1.252, allocations: 452.7 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/1.252, allocations: 8.031 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/1.252, allocations: 12.84 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/1.253, allocations: 213.8 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/1.253, allocations: 4.375 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/1.253, allocations: 16.38 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/1.253, allocations: 83.94 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.253, allocations: 192 / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/1.253, allocations: 7.938 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/1.253, allocations: 3.938 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.043e-05/1.253, allocations: 39.97 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/1.253, allocations: 222.5 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/1.254, allocations: 89.19 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/1.254, allocations: 53.81 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/1.254, allocations: 3.984 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/1.254, allocations: 97.09 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/1.254, allocations: 4 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0004143/1.254, allocations: 201.2 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/1.254, allocations: 85.11 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.255, allocations: 148 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/1.255, allocations: 41.64 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/1.255, allocations: 100.5 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/1.255, allocations: 35.55 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/1.255, allocations: 45.7 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.255, allocations: 330.8 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/1.255, allocations: 43.98 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/1.255, allocations: 195.4 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/1.256, allocations: 101.6 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.256, allocations: 0 / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002373/1.256, allocations: 165.3 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.256, allocations: 4 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/1.256, allocations: 4 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.256, allocations: 0 / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/1.256, allocations: 15.88 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.256, allocations: 4 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/1.256, allocations: 79.73 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/1.256, allocations: 4 kB / 1.214 GB, free: 7.559 MB / 0.9356 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.0001341/1.256, allocations: 131.6 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/1.256, allocations: 11.84 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/1.256, allocations: 16.7 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.256, allocations: 3.938 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.256, allocations: 3.938 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/1.257, allocations: 92.86 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/1.257, allocations: 8 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/1.257, allocations: 3.984 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/1.257, allocations: 8 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003114/1.257, allocations: 316.7 kB / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003202/1.257, allocations: 390 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.982e-05/1.257, allocations: 48.14 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.792e-05/1.258, allocations: 111.2 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of Backend: time 5.21e-07/1.258, allocations: 4 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007426/1.258, allocations: 261.7 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006215/1.259, allocations: 0.6357 MB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of Templates: time 0.006006/1.265, allocations: 2.593 MB / 1.218 GB, free: 2.859 MB / 0.9356 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