Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.001536/0.001536, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001111/0.001111, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9464/0.9464, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.036/2.036, allocations: 429.5 MB / 0.6732 GB, free: 4.074 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.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8781 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.627e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001744/0.001761, allocations: 1.549 MB / 0.8796 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007493/0.00251, allocations: 0.6654 MB / 0.8803 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.002548, allocations: 4 kB / 0.8803 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.958e-05/0.002627, allocations: 7.875 kB / 0.8803 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.002691, allocations: 19.8 kB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/0.003449, allocations: 357.5 kB / 0.8807 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.003632, allocations: 171.6 kB / 0.8808 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.003669, allocations: 7.984 kB / 0.8808 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.003756, allocations: 95.86 kB / 0.8809 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.003824, allocations: 42.31 kB / 0.881 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.003849, allocations: 12 kB / 0.881 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.00415, allocations: 283.5 kB / 0.8812 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.004208, allocations: 47.83 kB / 0.8813 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.004266, allocations: 35.92 kB / 0.8813 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.004597, allocations: 329.2 kB / 0.8816 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.0046, allocations: 4 kB / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.61e-07/0.0046, allocations: 0 / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.004604, allocations: 0 / 0.8816 GB, free: 2.828 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004606/0.005065, allocations: 0.4957 MB / 0.8821 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.005101, allocations: 12.75 kB / 0.8821 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.005158, allocations: 16.84 kB / 0.8822 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.005318, allocations: 150.1 kB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.005331, allocations: 12.36 kB / 0.8823 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.005349, allocations: 8.375 kB / 0.8823 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.005483, allocations: 89.28 kB / 0.8824 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.005492, allocations: 5.312 kB / 0.8824 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.005503, allocations: 4.375 kB / 0.8824 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.00551, allocations: 384 / 0.8824 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.005561, allocations: 27.92 kB / 0.8824 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.005733, allocations: 196 kB / 0.8826 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.005832, allocations: 113.3 kB / 0.8827 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.005891, allocations: 51.16 kB / 0.8828 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.0059, allocations: 7.938 kB / 0.8828 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.006039, allocations: 132 kB / 0.8829 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 8.61e-07/0.00604, allocations: 0 / 0.8829 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0002758/0.006316, allocations: 173.3 kB / 0.8831 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.006367, allocations: 118.8 kB / 0.8832 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.006461, allocations: 204 kB / 0.8834 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.006485, allocations: 37.7 kB / 0.8834 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.006539, allocations: 143.4 kB / 0.8836 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.006585, allocations: 47.64 kB / 0.8836 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.006646, allocations: 71.34 kB / 0.8837 GB, free: 488 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.00677, allocations: 0.4962 MB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.676e-05/0.006817, allocations: 28.27 kB / 0.8842 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.007004, allocations: 458.8 kB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.007117, allocations: 115 kB / 0.8847 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007119, allocations: 0 / 0.8847 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001761/0.007295, allocations: 157.4 kB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.007307, allocations: 12 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.007326, allocations: 4.938 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.00734, allocations: 7.922 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.007436, allocations: 28 kB / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.007441, allocations: 0 / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.007543, allocations: 35.86 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.007554, allocations: 11.98 kB / 0.885 GB, free: 14.98 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.454e-05/0.007639, allocations: 175.1 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.007656, allocations: 19.91 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.007679, allocations: 16.78 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.007682, allocations: 7.938 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.007686, allocations: 3.938 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007691, allocations: 3.984 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.03e-05/0.007781, allocations: 148.5 kB / 0.8853 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.007782, allocations: 0 / 0.8853 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.007808, allocations: 15.94 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.007809, allocations: 0 / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.007818, allocations: 4 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.007819, allocations: 0 / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.00782, allocations: 7.938 kB / 0.8854 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.007982, allocations: 199.6 kB / 0.8856 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.007997, allocations: 15.84 kB / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.008015, allocations: 7.922 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.008042, allocations: 8 kB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.008081, allocations: 7.984 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.008087, allocations: 4 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.00814, allocations: 149.5 kB / 0.8857 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.00814, allocations: 4 kB / 0.8857 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002398/0.00838, allocations: 99.8 kB / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002108/0.008591, allocations: 214.9 kB / 0.886 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.008791, allocations: 188.7 kB / 0.8862 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.008793, allocations: 3.938 kB / 0.8862 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.008841, allocations: 49.14 kB / 0.8863 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.008956, allocations: 12 kB / 0.8863 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.00927, allocations: 233.7 kB / 0.8865 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.725e-05/0.009307, allocations: 71.84 kB / 0.8866 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.009336, allocations: 8.969 kB / 0.8866 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.009362, allocations: 20.5 kB / 0.8866 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of SimCode: time 3.71e-07/0.009362, allocations: 0 / 0.8866 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.004727/0.01409, allocations: 3.534 MB / 0.8901 GB, free: 9.672 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.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.177090208977461]