Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001127/0.001127, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.000975/0.000975, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9436/0.9436, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.446e-05, allocations: 9.969 kB / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001906/0.001931, allocations: 1.541 MB / 0.7615 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.002686, allocations: 0.657 MB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.002721, allocations: 1.312 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.778e-05/0.002789, allocations: 15.86 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.002856, allocations: 13.61 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007092/0.003565, allocations: 359.5 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.004005, allocations: 178.3 kB / 0.7627 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.00404, allocations: 4 kB / 0.7627 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.004129, allocations: 92.64 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.004192, allocations: 44.69 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.004213, allocations: 12 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.004521, allocations: 279.5 kB / 0.7631 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.004574, allocations: 41.12 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.004626, allocations: 43.89 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.004915, allocations: 331.1 kB / 0.7635 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004918, allocations: 0.5938 kB / 0.7635 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004919, allocations: 1.469 kB / 0.7635 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.004923, allocations: 0 / 0.7635 GB, free: 3.133 MB / 0.7136 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.0003909/0.005314, allocations: 368 kB / 0.7638 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.005348, allocations: 12.78 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.005385, allocations: 12.92 kB / 0.7638 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005528, allocations: 146.3 kB / 0.764 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.005542, allocations: 8.375 kB / 0.764 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.00556, allocations: 10.25 kB / 0.764 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.005661, allocations: 83.55 kB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.005668, allocations: 192 / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.005678, allocations: 8.312 kB / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005685, allocations: 4.375 kB / 0.7641 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.005725, allocations: 33.73 kB / 0.7641 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.005844, allocations: 107.1 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.587e-05/0.00592, allocations: 76 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.005956, allocations: 43.84 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.005964, allocations: 4 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.006073, allocations: 110.1 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 7.81e-07/0.006074, allocations: 3.938 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0001654/0.006239, allocations: 122.8 kB / 0.7646 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.006299, allocations: 114.8 kB / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.006367, allocations: 141 kB / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.006393, allocations: 41.7 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.006422, allocations: 93.09 kB / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.006464, allocations: 59.5 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.006517, allocations: 62.78 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/0.006596, allocations: 326.8 kB / 0.7654 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.006625, allocations: 19.09 kB / 0.7654 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.006775, allocations: 410.5 kB / 0.7658 GB, free: 448 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.694e-05/0.006852, allocations: 94.98 kB / 0.7659 GB, free: 340 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006854, allocations: 3.938 kB / 0.7659 GB, free: 336 kB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001168/0.006971, allocations: 126.2 kB / 0.766 GB, free: 200 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.006983, allocations: 6.031 kB / 0.766 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.007001, allocations: 4.078 kB / 0.766 GB, free: 192 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.007011, allocations: 0 / 0.766 GB, free: 192 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.007091, allocations: 35.92 kB / 0.766 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007096, allocations: 10.95 kB / 0.766 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.007189, allocations: 35.86 kB / 0.7661 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.007205, allocations: 12.08 kB / 0.7661 GB, free: 100 kB / 0.7136 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.741e-05/0.007292, allocations: 131.3 kB / 0.7662 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.007307, allocations: 11.98 kB / 0.7662 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.007328, allocations: 12.78 kB / 0.7662 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.00733, allocations: 1.5 kB / 0.7662 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.007332, allocations: 3.938 kB / 0.7662 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.007337, allocations: 7.938 kB / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.518e-05/0.007412, allocations: 93.77 kB / 0.7663 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007413, allocations: 0.5938 kB / 0.7663 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.007438, allocations: 12.64 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.007441, allocations: 4 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.007446, allocations: 1.312 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007448, allocations: 0 / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.00745, allocations: 4 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.007561, allocations: 134 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.007573, allocations: 18.33 kB / 0.7665 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.007588, allocations: 3.938 kB / 0.7665 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.007618, allocations: 11.98 kB / 0.7665 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.007649, allocations: 7.984 kB / 0.7665 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.007655, allocations: 11.94 kB / 0.7665 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.147e-05/0.007677, allocations: 24.83 kB / 0.7666 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007677, allocations: 2.938 kB / 0.7666 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002203/0.007897, allocations: 99.8 kB / 0.7667 GB, free: 15.46 MB / 0.7292 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.0002288/0.008126, allocations: 204.1 kB / 0.7669 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.008301, allocations: 166.3 kB / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.008304, allocations: 0 / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.008341, allocations: 40.77 kB / 0.7671 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.005e-05/0.008422, allocations: 10.5 kB / 0.7671 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.008706, allocations: 238.8 kB / 0.7673 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/0.008743, allocations: 71.83 kB / 0.7674 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.00878, allocations: 17.23 kB / 0.7674 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.008858, allocations: 80.77 kB / 0.7675 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.008858, allocations: 0 / 0.7675 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.004925/0.01378, allocations: 3.46 MB / 0.7708 GB, free: 11.3 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1367248189635575]