Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001461/0.001461, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001621/0.001621, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9914/0.9914, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.817/1.817, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.553e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00198/0.002005, allocations: 1.543 MB / 0.813 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000782/0.002787, allocations: 0.6629 MB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.002832, allocations: 1.156 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.027e-05/0.002912, allocations: 11.86 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.002983, allocations: 19.8 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.003841, allocations: 358 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.004055, allocations: 175.6 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.004093, allocations: 4 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.004188, allocations: 95.84 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.00426, allocations: 41.23 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.004286, allocations: 15.98 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.004632, allocations: 275.5 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.00469, allocations: 40.45 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.004754, allocations: 41.06 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.005131, allocations: 335.1 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005133, allocations: 0 / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005134, allocations: 0 / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.005139, allocations: 0.5312 kB / 0.815 GB, free: 14.21 MB / 0.7761 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.0005763/0.005715, allocations: 0.5004 MB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.005749, allocations: 9.438 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.005807, allocations: 16.84 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.005968, allocations: 156.4 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.005981, allocations: 8.359 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.006001, allocations: 13 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.006129, allocations: 90.34 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.006137, allocations: 192 / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.006147, allocations: 384 / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.006154, allocations: 1.125 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.006207, allocations: 39.84 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.006373, allocations: 184.8 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/0.006472, allocations: 114.6 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.006526, allocations: 51.2 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.006534, allocations: 0 / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.006675, allocations: 139.5 kB / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.006676, allocations: 0 / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0002685/0.006944, allocations: 181.3 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.006997, allocations: 118.8 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.007096, allocations: 196.5 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.007119, allocations: 40 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.007174, allocations: 147.4 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.00722, allocations: 51.59 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.007279, allocations: 67.34 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.007388, allocations: 0.4962 MB / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.007434, allocations: 28.27 kB / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.00763, allocations: 459.4 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.007743, allocations: 103 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007745, allocations: 0 / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001707/0.007916, allocations: 169.5 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.007929, allocations: 4 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.007949, allocations: 4 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.007962, allocations: 7.938 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.008062, allocations: 31.92 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.008067, allocations: 0 / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.008174, allocations: 43.17 kB / 0.8183 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.008184, allocations: 4.5 kB / 0.8183 GB, free: 10.38 MB / 0.7761 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.043e-05/0.008274, allocations: 187.8 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.008293, allocations: 20.45 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.008315, allocations: 14.09 kB / 0.8186 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.008319, allocations: 7.938 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.008324, allocations: 4 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.008328, allocations: 4 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.23e-05/0.008421, allocations: 153.1 kB / 0.8187 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008422, allocations: 0.5938 kB / 0.8187 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.00845, allocations: 11.98 kB / 0.8187 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008452, allocations: 2 kB / 0.8187 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.008461, allocations: 4 kB / 0.8187 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.008462, allocations: 3.938 kB / 0.8187 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.008465, allocations: 7.938 kB / 0.8188 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.008632, allocations: 187.6 kB / 0.8189 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.008645, allocations: 16.7 kB / 0.8189 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.008664, allocations: 4 kB / 0.8189 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.617e-05/0.00869, allocations: 4.938 kB / 0.819 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.008735, allocations: 19.91 kB / 0.819 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.008742, allocations: 4 kB / 0.819 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.008789, allocations: 145.1 kB / 0.8191 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008789, allocations: 0 / 0.8191 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002556/0.009045, allocations: 103.8 kB / 0.8192 GB, free: 9.422 MB / 0.7761 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.0002293/0.009274, allocations: 216.2 kB / 0.8194 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.009491, allocations: 191.1 kB / 0.8196 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009492, allocations: 0 / 0.8196 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/0.009542, allocations: 46.23 kB / 0.8196 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.009662, allocations: 11.91 kB / 0.8197 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.009992, allocations: 241.7 kB / 0.8199 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.01003, allocations: 67.84 kB / 0.82 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.01006, allocations: 13.25 kB / 0.82 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.01009, allocations: 16.5 kB / 0.82 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.01009, allocations: 0 / 0.82 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of Templates: time 0.005134/0.01522, allocations: 3.523 MB / 0.8234 GB, free: 5.098 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.2236504149623215]