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.001277/0.001277, allocations: 93.06 kB / 19.65 MB, free: 284 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.001344/0.001344, allocations: 169 kB / 23.02 MB, free: 1.555 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.9383/0.9383, allocations: 177.1 MB / 203.4 MB, free: 5.648 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 1.984/1.984, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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 2.875e-06/2.875e-06, allocations: 4 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.635e-05, allocations: 9.703 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001937/0.001963, allocations: 1.531 MB / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.002761, allocations: 0.6677 MB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.0028, allocations: 0 / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.759e-05/0.002887, allocations: 7.922 kB / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.00296, allocations: 22.48 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007435/0.003703, allocations: 358.9 kB / 0.8807 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.003902, allocations: 175.6 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.003944, allocations: 0.7188 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/0.004037, allocations: 95.86 kB / 0.8809 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.004109, allocations: 41.55 kB / 0.881 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.004135, allocations: 12 kB / 0.881 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.004437, allocations: 279.5 kB / 0.8812 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.004498, allocations: 39.91 kB / 0.8813 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.004554, allocations: 41.25 kB / 0.8813 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.004862, allocations: 339.1 kB / 0.8816 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004864, allocations: 0 / 0.8816 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004865, allocations: 1.594 kB / 0.8816 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.004869, allocations: 0 / 0.8816 GB, free: 2.789 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.0004483/0.005318, allocations: 0.4957 MB / 0.8821 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.005349, allocations: 8.031 kB / 0.8821 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.005404, allocations: 20.84 kB / 0.8821 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.005568, allocations: 152.4 kB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.00558, allocations: 8.375 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.005599, allocations: 12.38 kB / 0.8823 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.005716, allocations: 87.62 kB / 0.8824 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005724, allocations: 4.188 kB / 0.8824 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.005734, allocations: 4.359 kB / 0.8824 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00574, allocations: 384 / 0.8824 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.061e-05/0.005791, allocations: 35.84 kB / 0.8824 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.005945, allocations: 184 kB / 0.8826 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.221e-05/0.006037, allocations: 117.3 kB / 0.8827 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.006093, allocations: 55.16 kB / 0.8828 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.0061, allocations: 0 / 0.8828 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.006237, allocations: 151.8 kB / 0.8829 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 7.91e-07/0.006237, allocations: 0 / 0.8829 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0002668/0.006504, allocations: 162.2 kB / 0.8831 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.006552, allocations: 122.7 kB / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.006643, allocations: 193.9 kB / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.006666, allocations: 37.7 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.006716, allocations: 147.4 kB / 0.8836 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.00676, allocations: 55.62 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.006819, allocations: 67.34 kB / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.006941, allocations: 0.4962 MB / 0.8842 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.006987, allocations: 32.25 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.007172, allocations: 453.9 kB / 0.8846 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.007279, allocations: 103 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.007281, allocations: 0 / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001745/0.007455, allocations: 169.4 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.007467, allocations: 7.984 kB / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.007485, allocations: 4 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007497, allocations: 11.88 kB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.007585, allocations: 31.98 kB / 0.8849 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.00759, allocations: 3.938 kB / 0.8849 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.007692, allocations: 39.86 kB / 0.885 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.0077, allocations: 4 kB / 0.885 GB, free: 14.93 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.571e-05/0.007786, allocations: 183.3 kB / 0.8852 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.007804, allocations: 19.91 kB / 0.8852 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.007826, allocations: 12.77 kB / 0.8852 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.00783, allocations: 11.94 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.007834, allocations: 0 / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007837, allocations: 0 / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.747e-05/0.007924, allocations: 148.5 kB / 0.8853 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007925, allocations: 4 kB / 0.8853 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.007949, allocations: 8 kB / 0.8853 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.00795, allocations: 0 / 0.8853 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.00796, allocations: 15.92 kB / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007961, allocations: 240 / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.007964, allocations: 3.938 kB / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.008124, allocations: 199.5 kB / 0.8856 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.008135, allocations: 19.84 kB / 0.8856 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.008153, allocations: 4 kB / 0.8856 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.008179, allocations: 8 kB / 0.8856 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.008216, allocations: 7.984 kB / 0.8856 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.008223, allocations: 11.92 kB / 0.8856 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.008272, allocations: 145 kB / 0.8857 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008272, allocations: 0 / 0.8857 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002241/0.008496, allocations: 99.8 kB / 0.8858 GB, free: 13.97 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.0002238/0.00872, allocations: 207 kB / 0.886 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.008934, allocations: 188.6 kB / 0.8862 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008936, allocations: 0 / 0.8862 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/0.008986, allocations: 57.09 kB / 0.8863 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.009102, allocations: 8 kB / 0.8863 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.009428, allocations: 237.7 kB / 0.8865 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.281e-05/0.009461, allocations: 67.84 kB / 0.8866 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.009492, allocations: 12.97 kB / 0.8866 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.009514, allocations: 12.5 kB / 0.8866 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.009515, allocations: 0 / 0.8866 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.00475/0.01427, allocations: 3.542 MB / 0.8901 GB, free: 9.621 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.245298770722002]