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.001157/0.001157, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001131/0.001131, allocations: 161.4 kB / 24.16 MB, free: 332 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 1.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.954/1.954, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 177] 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.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.763e-06/1.763e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.277e-05, allocations: 3.125 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002325/0.002347, allocations: 1.586 MB / 0.7616 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.00315, allocations: 0.6655 MB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.003189, allocations: 3.938 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.199e-05/0.003261, allocations: 3.938 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.003331, allocations: 21.84 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.004021, allocations: 335.2 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.004216, allocations: 177.6 kB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.004255, allocations: 0 / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.004352, allocations: 91.86 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.004419, allocations: 40.7 kB / 0.7629 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.004442, allocations: 12 kB / 0.7629 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.004801, allocations: 308 kB / 0.7632 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.004852, allocations: 40.86 kB / 0.7632 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.004906, allocations: 43.91 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.005217, allocations: 335 kB / 0.7636 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.00522, allocations: 0.9688 kB / 0.7636 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005222, allocations: 0 / 0.7636 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.005226, allocations: 4 kB / 0.7636 GB, free: 3.031 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.0003968/0.005623, allocations: 373.2 kB / 0.7639 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.005651, allocations: 8.031 kB / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.00569, allocations: 14.42 kB / 0.7639 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.005832, allocations: 137.7 kB / 0.7641 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.005843, allocations: 8.375 kB / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.005859, allocations: 8.375 kB / 0.7641 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.627e-05/0.005955, allocations: 84.2 kB / 0.7642 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005963, allocations: 4.938 kB / 0.7642 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.00597, allocations: 384 / 0.7642 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005976, allocations: 5.109 kB / 0.7642 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.006017, allocations: 36.34 kB / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.006131, allocations: 105.2 kB / 0.7643 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.903e-05/0.00621, allocations: 83.95 kB / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.006248, allocations: 38.69 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.006256, allocations: 7.984 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.006395, allocations: 117.4 kB / 0.7646 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 8.81e-07/0.006396, allocations: 0 / 0.7646 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.000175/0.006571, allocations: 119.9 kB / 0.7647 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.00663, allocations: 118.8 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/0.006705, allocations: 144.1 kB / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.006729, allocations: 40.12 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.006762, allocations: 96.62 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.006806, allocations: 55.56 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.006863, allocations: 57.67 kB / 0.7652 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.006944, allocations: 334.8 kB / 0.7655 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.986e-05/0.006973, allocations: 19.11 kB / 0.7655 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.007132, allocations: 410.4 kB / 0.7659 GB, free: 340 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.423e-05/0.007216, allocations: 94.86 kB / 0.766 GB, free: 232 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007218, allocations: 0 / 0.766 GB, free: 232 kB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001306/0.007349, allocations: 130.2 kB / 0.7661 GB, free: 92 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.007362, allocations: 6.031 kB / 0.7661 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.00738, allocations: 3.984 kB / 0.7661 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.007391, allocations: 4 kB / 0.7661 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.007471, allocations: 27.94 kB / 0.7661 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.007477, allocations: 11.98 kB / 0.7662 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/0.007574, allocations: 36.5 kB / 0.7662 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.007584, allocations: 8 kB / 0.7662 GB, free: 0 / 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 9.021e-05/0.007674, allocations: 130.5 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.007691, allocations: 15.98 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.007713, allocations: 12.78 kB / 0.7663 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007715, allocations: 0 / 0.7663 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.007719, allocations: 4 kB / 0.7664 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.007723, allocations: 3.938 kB / 0.7664 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.301e-05/0.007806, allocations: 101.7 kB / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007807, allocations: 0 / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.007834, allocations: 15.03 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007836, allocations: 0 / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.007842, allocations: 0 / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007843, allocations: 4 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.007845, allocations: 0 / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.007959, allocations: 141.9 kB / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.007971, allocations: 15.88 kB / 0.7666 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.007987, allocations: 7.938 kB / 0.7666 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.806e-05/0.008015, allocations: 5.406 kB / 0.7666 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.008049, allocations: 7.984 kB / 0.7666 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.008056, allocations: 4 kB / 0.7666 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.121e-05/0.008077, allocations: 28.83 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.008077, allocations: 1.281 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002345/0.008311, allocations: 103.8 kB / 0.7668 GB, free: 15.36 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.0002214/0.008533, allocations: 208.8 kB / 0.767 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.008693, allocations: 163 kB / 0.7671 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.008697, allocations: 4 kB / 0.7671 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.008733, allocations: 39.31 kB / 0.7672 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.169e-05/0.008814, allocations: 8.688 kB / 0.7672 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.009109, allocations: 245.5 kB / 0.7674 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.009152, allocations: 68.38 kB / 0.7675 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.76e-05/0.00919, allocations: 14.47 kB / 0.7675 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.00927, allocations: 83.3 kB / 0.7676 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of SimCode: time 1.142e-06/0.009272, allocations: 0 / 0.7676 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.004908/0.01418, allocations: 3.458 MB / 0.7709 GB, free: 11.19 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.280000270344317]