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.00102/0.00102, 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.001597/0.001597, 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.9738/0.9738, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.085/2.085, allocations: 429.5 MB / 0.6733 GB, free: 4.055 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 3.647e-06/3.647e-06, allocations: 4 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.794e-05, allocations: 2.875 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002064/0.002092, allocations: 1.548 MB / 0.8797 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007777/0.00287, allocations: 0.6632 MB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.002906, allocations: 0 / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.615e-05/0.002992, allocations: 3.938 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.329e-05/0.003056, allocations: 19.8 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00072/0.003776, allocations: 356.9 kB / 0.8807 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.004013, allocations: 175.6 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.004052, allocations: 5.109 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-05/0.004148, allocations: 91.86 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.162e-05/0.00422, allocations: 48.91 kB / 0.881 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.004246, allocations: 12 kB / 0.881 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.004549, allocations: 275.5 kB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.004613, allocations: 48.89 kB / 0.8813 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.004682, allocations: 39.91 kB / 0.8813 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.005022, allocations: 331.1 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005024, allocations: 0.6562 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005025, allocations: 1.281 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.00503, allocations: 0 / 0.8816 GB, free: 2.781 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.0004961/0.005526, allocations: 0.4996 MB / 0.8821 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.005561, allocations: 8.625 kB / 0.8821 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.005616, allocations: 18.22 kB / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.005826, allocations: 152.4 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.00584, allocations: 8.375 kB / 0.8823 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.005865, allocations: 12.38 kB / 0.8823 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.006, allocations: 86.06 kB / 0.8824 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.00601, allocations: 192 / 0.8824 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.006021, allocations: 4.938 kB / 0.8824 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006028, allocations: 384 / 0.8824 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.006081, allocations: 36.94 kB / 0.8824 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.006285, allocations: 192 kB / 0.8826 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.006398, allocations: 113.9 kB / 0.8827 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.006459, allocations: 60.28 kB / 0.8828 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.006466, allocations: 0 / 0.8828 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.006687, allocations: 136 kB / 0.8829 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 8.72e-07/0.006688, allocations: 3.469 kB / 0.8829 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0002812/0.006969, allocations: 173.3 kB / 0.8831 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.00703, allocations: 118.8 kB / 0.8832 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.007135, allocations: 196 kB / 0.8834 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.007158, allocations: 33.7 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.007213, allocations: 147.4 kB / 0.8836 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.00726, allocations: 51.62 kB / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.007324, allocations: 71.34 kB / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.007448, allocations: 0.4923 MB / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.007496, allocations: 29.11 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.007759, allocations: 457.9 kB / 0.8846 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.007876, allocations: 111.6 kB / 0.8847 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.007878, allocations: 0 / 0.8847 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001736/0.008052, allocations: 166.7 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.008066, allocations: 4 kB / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.008088, allocations: 4.938 kB / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.008103, allocations: 11.92 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.008201, allocations: 28 kB / 0.8849 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.008208, allocations: 3.984 kB / 0.8849 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.008317, allocations: 39.86 kB / 0.885 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.008327, allocations: 4 kB / 0.885 GB, free: 14.94 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 9.49e-05/0.008422, allocations: 179.1 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.008441, allocations: 16.05 kB / 0.8852 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.008469, allocations: 20.7 kB / 0.8852 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.008474, allocations: 11.94 kB / 0.8852 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.008479, allocations: 3.984 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.008483, allocations: 0 / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.008588, allocations: 148.5 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.00859, allocations: 4 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.008619, allocations: 11.94 kB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.008621, allocations: 0 / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.00863, allocations: 4 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008631, allocations: 0 / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.008633, allocations: 3.938 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.008813, allocations: 199.6 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.008826, allocations: 19.84 kB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.008847, allocations: 7.984 kB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.694e-05/0.008874, allocations: 0 / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.008919, allocations: 19.92 kB / 0.8856 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.008928, allocations: 8 kB / 0.8856 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.008981, allocations: 145.5 kB / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008981, allocations: 3.938 kB / 0.8858 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002273/0.009209, allocations: 99.8 kB / 0.8859 GB, free: 13.98 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.0002355/0.009444, allocations: 211 kB / 0.8861 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.009668, allocations: 192.6 kB / 0.8862 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.00967, allocations: 0 / 0.8862 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.385e-05/0.009723, allocations: 53.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.0001304/0.009854, allocations: 12.05 kB / 0.8863 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.01024, allocations: 237.7 kB / 0.8865 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.754e-05/0.01028, allocations: 67.84 kB / 0.8866 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.01032, allocations: 8.969 kB / 0.8866 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.01036, allocations: 16.5 kB / 0.8866 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.01036, allocations: 0 / 0.8866 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.005301/0.01566, allocations: 3.253 MB / 0.8898 GB, free: 9.902 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.592414742801338]