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.001546/0.001546, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001807/0.001807, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.038/1.038, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.071/2.071, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.653e-06/1.653e-06, allocations: 0 / 0.8793 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.589e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002758/0.002784, allocations: 1.469 MB / 0.8808 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.003617, allocations: 477 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.003669, allocations: 0 / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.849e-05/0.003757, allocations: 10.86 kB / 0.8813 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.003829, allocations: 15.86 kB / 0.8813 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.00474, allocations: 243.2 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.004993, allocations: 147.8 kB / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.00504, allocations: 0 / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.005158, allocations: 87.86 kB / 0.8817 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.005234, allocations: 28.62 kB / 0.8818 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.005264, allocations: 13.66 kB / 0.8818 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.005592, allocations: 195.6 kB / 0.882 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.005653, allocations: 31.91 kB / 0.882 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.005714, allocations: 39.91 kB / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.00608, allocations: 243.9 kB / 0.8823 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.006084, allocations: 1.344 kB / 0.8823 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.92e-07/0.006085, allocations: 0 / 0.8823 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.006089, allocations: 4 kB / 0.8823 GB, free: 3.105 MB / 0.8386 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.0005399/0.006629, allocations: 485.4 kB / 0.8827 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.006667, allocations: 8.031 kB / 0.8827 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.006722, allocations: 12.89 kB / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.006902, allocations: 161.7 kB / 0.8829 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.006917, allocations: 8.375 kB / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.006939, allocations: 12.38 kB / 0.8829 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.00705, allocations: 65.59 kB / 0.883 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.007058, allocations: 4.188 kB / 0.883 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.007066, allocations: 384 / 0.883 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.007072, allocations: 384 / 0.883 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.007111, allocations: 23.86 kB / 0.883 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.007285, allocations: 148.8 kB / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.134e-05/0.007367, allocations: 70.34 kB / 0.8832 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.007407, allocations: 35.34 kB / 0.8832 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.007414, allocations: 8 kB / 0.8833 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.007551, allocations: 104.4 kB / 0.8834 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.007552, allocations: 0 / 0.8834 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002396/0.007792, allocations: 109.6 kB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.007852, allocations: 85.09 kB / 0.8835 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.00797, allocations: 204 kB / 0.8837 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.008, allocations: 37.7 kB / 0.8838 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.008071, allocations: 151.2 kB / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.008119, allocations: 39.67 kB / 0.884 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.008192, allocations: 55.33 kB / 0.884 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.00833, allocations: 0.5078 MB / 0.8845 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.008361, allocations: 11.98 kB / 0.8845 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.008658, allocations: 0.593 MB / 0.8851 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.234e-05/0.00875, allocations: 67.22 kB / 0.8852 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008752, allocations: 0 / 0.8852 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001701/0.008922, allocations: 109.5 kB / 0.8853 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.00894, allocations: 8 kB / 0.8853 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.008961, allocations: 3.938 kB / 0.8853 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.008976, allocations: 7.984 kB / 0.8853 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.009069, allocations: 12 kB / 0.8853 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.009075, allocations: 4.562 kB / 0.8853 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.009226, allocations: 43.95 kB / 0.8853 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.009237, allocations: 4 kB / 0.8853 GB, free: 15.52 MB / 0.8542 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.0001114/0.009348, allocations: 172.5 kB / 0.8855 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.009371, allocations: 11.95 kB / 0.8855 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.009403, allocations: 16.77 kB / 0.8855 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.009409, allocations: 8 kB / 0.8855 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.009412, allocations: 3.938 kB / 0.8855 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.009416, allocations: 4 kB / 0.8855 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.009532, allocations: 117.2 kB / 0.8857 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.009534, allocations: 0 / 0.8857 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.009567, allocations: 8 kB / 0.8857 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.009571, allocations: 3.984 kB / 0.8857 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.009579, allocations: 4 kB / 0.8857 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.009581, allocations: 0 / 0.8857 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009582, allocations: 0 / 0.8857 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.009757, allocations: 159.8 kB / 0.8858 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.009774, allocations: 15.84 kB / 0.8858 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.009796, allocations: 8 kB / 0.8858 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.009835, allocations: 0 / 0.8858 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.00987, allocations: 11.98 kB / 0.8859 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.009879, allocations: 4 kB / 0.8859 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.009944, allocations: 148.8 kB / 0.886 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009944, allocations: 0 / 0.886 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003165/0.01026, allocations: 71.88 kB / 0.8861 GB, free: 14.7 MB / 0.8542 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.0002446/0.01051, allocations: 171.1 kB / 0.8862 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.01069, allocations: 128.7 kB / 0.8864 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01069, allocations: 4 kB / 0.8864 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.01073, allocations: 31.59 kB / 0.8864 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.01089, allocations: 8 kB / 0.8864 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.01124, allocations: 202.6 kB / 0.8866 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.565e-05/0.01129, allocations: 71.33 kB / 0.8867 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.01133, allocations: 4.734 kB / 0.8867 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.01143, allocations: 102.2 kB / 0.8868 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/0.01143, allocations: 0 / 0.8868 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.005817/0.01725, allocations: 2.951 MB / 0.8896 GB, free: 11.02 MB / 0.8542 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.305312950629741]