Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001088/0.001088, allocations: 92.22 kB / 19.65 MB, free: 276 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.001061/0.001061, allocations: 169 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.944/0.944, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.117/2.117, allocations: 429.5 MB / 0.6733 GB, free: 4.031 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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.8781 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.431e-05/4.736e-05, allocations: 10.25 kB / 0.8781 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002507/0.002555, allocations: 1.533 MB / 0.8796 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009249/0.00348, allocations: 0.6649 MB / 0.8803 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.003538, allocations: 0 / 0.8803 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.637e-05/0.003634, allocations: 11.86 kB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.583e-05/0.00371, allocations: 17.2 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.004712, allocations: 364.2 kB / 0.8807 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.00496, allocations: 175.6 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.005003, allocations: 1.594 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.005108, allocations: 91.86 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.005187, allocations: 47.83 kB / 0.881 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.005218, allocations: 15.98 kB / 0.881 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.005617, allocations: 277.6 kB / 0.8812 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.005685, allocations: 43.89 kB / 0.8813 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.005757, allocations: 39.91 kB / 0.8813 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.006212, allocations: 331.1 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.006216, allocations: 0 / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/0.006218, allocations: 2.438 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.006224, allocations: 0 / 0.8816 GB, free: 2.809 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.0005937/0.006817, allocations: 0.4918 MB / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.00686, allocations: 12.03 kB / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.006928, allocations: 16.84 kB / 0.8821 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.007124, allocations: 154.4 kB / 0.8823 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.007138, allocations: 9.094 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.007159, allocations: 8.375 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.00731, allocations: 97.22 kB / 0.8824 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.00732, allocations: 192 / 0.8824 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.007333, allocations: 4.375 kB / 0.8824 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.007341, allocations: 384 / 0.8824 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.007397, allocations: 31.91 kB / 0.8824 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.007616, allocations: 192 kB / 0.8826 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.007734, allocations: 109.3 kB / 0.8827 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.278e-05/0.007797, allocations: 51.16 kB / 0.8828 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.007807, allocations: 7.984 kB / 0.8828 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.007979, allocations: 153.9 kB / 0.8829 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 8.91e-07/0.007979, allocations: 0 / 0.8829 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003044/0.008284, allocations: 166.2 kB / 0.8831 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.008344, allocations: 114.8 kB / 0.8832 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.00847, allocations: 204.1 kB / 0.8834 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.008501, allocations: 41.69 kB / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.00856, allocations: 139.4 kB / 0.8836 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.008615, allocations: 47.64 kB / 0.8836 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.008683, allocations: 71.34 kB / 0.8837 GB, free: 464 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.008828, allocations: 0.4962 MB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.008885, allocations: 32.25 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.009104, allocations: 453.1 kB / 0.8846 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.009233, allocations: 115 kB / 0.8847 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009236, allocations: 0 / 0.8847 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001978/0.009434, allocations: 161.4 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.00945, allocations: 8 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.009474, allocations: 4 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.00949, allocations: 3.938 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.009605, allocations: 35.92 kB / 0.8849 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.009612, allocations: 0 / 0.8849 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.00974, allocations: 43.8 kB / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.009751, allocations: 8 kB / 0.885 GB, free: 14.95 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 0.0001103/0.009861, allocations: 171.2 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.009886, allocations: 19.91 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.009918, allocations: 20.7 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.009922, allocations: 7.938 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.009928, allocations: 0 / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.009932, allocations: 0 / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.01004, allocations: 148.5 kB / 0.8853 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01005, allocations: 4 kB / 0.8853 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.01008, allocations: 12 kB / 0.8853 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01008, allocations: 0 / 0.8853 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01009, allocations: 7.984 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.0101, allocations: 240 / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.0101, allocations: 3.938 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.01029, allocations: 203.5 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.01031, allocations: 15.84 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.01033, allocations: 3.938 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/0.01037, allocations: 4 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.01042, allocations: 15.97 kB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01043, allocations: 12 kB / 0.8856 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.305e-05/0.01048, allocations: 143.2 kB / 0.8857 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.01048, allocations: 0 / 0.8857 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002867/0.01077, allocations: 99.8 kB / 0.8858 GB, free: 14 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.0002747/0.01104, allocations: 215.1 kB / 0.886 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.01129, allocations: 184.6 kB / 0.8862 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01129, allocations: 0 / 0.8862 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.01135, allocations: 47.59 kB / 0.8863 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.01151, allocations: 21.69 kB / 0.8863 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.01195, allocations: 229.8 kB / 0.8865 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.572e-05/0.01201, allocations: 71.84 kB / 0.8866 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.01205, allocations: 8.969 kB / 0.8866 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.01209, allocations: 16.5 kB / 0.8866 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.01209, allocations: 0 / 0.8866 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of Templates: time 0.005443/0.01753, allocations: 3.269 MB / 0.8898 GB, free: 9.918 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.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.706564994994551]