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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9622/0.9622, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.415/2.415, allocations: 438.8 MB / 0.6826 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8385 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.501e-05, allocations: 8.922 kB / 0.8385 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001985/0.00201, allocations: 1.459 MB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006225/0.002632, allocations: 482 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.002664, allocations: 0 / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.604e-05/0.00274, allocations: 7.875 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.002802, allocations: 11.92 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.003432, allocations: 239.2 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.003608, allocations: 155.7 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.003648, allocations: 11.91 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.039e-05/0.003729, allocations: 71.95 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.652e-05/0.003795, allocations: 39.88 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.00382, allocations: 12 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.004054, allocations: 179.7 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.004105, allocations: 39.89 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.00415, allocations: 35.92 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.004392, allocations: 247.4 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004394, allocations: 4 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004395, allocations: 0 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.004398, allocations: 0 / 0.8414 GB, free: 11.25 MB / 0.8073 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.0003815/0.00478, allocations: 356 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.004813, allocations: 8.625 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.00485, allocations: 12.92 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.005003, allocations: 153.5 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.005016, allocations: 8.375 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.005037, allocations: 8.375 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.005142, allocations: 66.72 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005149, allocations: 4.188 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.005158, allocations: 4.359 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.005163, allocations: 384 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.005197, allocations: 25.52 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.005322, allocations: 95.53 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.005392, allocations: 57.11 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.005424, allocations: 21.72 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.005432, allocations: 256 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.005563, allocations: 99.92 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 7.91e-07/0.005564, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001613/0.005726, allocations: 91.2 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.005788, allocations: 93.03 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.005874, allocations: 144.5 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.005899, allocations: 33.7 kB / 0.8427 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.005934, allocations: 96.48 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.005974, allocations: 35.72 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.006026, allocations: 45.69 kB / 0.8428 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.006111, allocations: 330.7 kB / 0.8431 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.297e-05/0.006134, allocations: 10.83 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.006364, allocations: 0.5378 MB / 0.8437 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.122e-05/0.006435, allocations: 67.27 kB / 0.8437 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006438, allocations: 0 / 0.8437 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 9.641e-05/0.006534, allocations: 103.2 kB / 0.8438 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.006547, allocations: 4 kB / 0.8438 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.006567, allocations: 7.984 kB / 0.8439 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.006578, allocations: 0 / 0.8439 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.006647, allocations: 16 kB / 0.8439 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.006651, allocations: 3.938 kB / 0.8439 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.006757, allocations: 43.86 kB / 0.8439 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.006763, allocations: 0 / 0.8439 GB, free: 8.332 MB / 0.8073 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 8.822e-05/0.006851, allocations: 124.6 kB / 0.844 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.006864, allocations: 15.98 kB / 0.844 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.006888, allocations: 12.78 kB / 0.8441 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006891, allocations: 0 / 0.8441 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.006894, allocations: 0 / 0.8441 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.006899, allocations: 3.938 kB / 0.8441 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.629e-05/0.006985, allocations: 89.77 kB / 0.8441 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.006989, allocations: 7.984 kB / 0.8442 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.007012, allocations: 4 kB / 0.8442 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007014, allocations: 0 / 0.8442 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.00702, allocations: 7.938 kB / 0.8442 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007021, allocations: 0 / 0.8442 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007022, allocations: 0 / 0.8442 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.007123, allocations: 117.7 kB / 0.8443 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.007137, allocations: 11.94 kB / 0.8443 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.007152, allocations: 3.984 kB / 0.8443 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.007175, allocations: 4 kB / 0.8443 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.007211, allocations: 11.98 kB / 0.8443 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.007215, allocations: 4 kB / 0.8443 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.00724, allocations: 26.55 kB / 0.8443 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007241, allocations: 4 kB / 0.8443 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002343/0.007475, allocations: 79.8 kB / 0.8444 GB, free: 7.766 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002298/0.007705, allocations: 158.2 kB / 0.8446 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.007869, allocations: 120.2 kB / 0.8447 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.007874, allocations: 4 kB / 0.8447 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.007905, allocations: 24.78 kB / 0.8447 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.759e-05/0.007992, allocations: 16 kB / 0.8447 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.008284, allocations: 207.5 kB / 0.8449 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.008322, allocations: 67.34 kB / 0.845 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.008353, allocations: 12.66 kB / 0.845 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.008431, allocations: 75.36 kB / 0.8451 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.008432, allocations: 0 / 0.8451 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of Templates: time 0.004701/0.01313, allocations: 2.87 MB / 0.8479 GB, free: 4.199 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.412916708737612]