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.001176/0.001176, 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.001551/0.001551, 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.9843/0.9843, allocations: 177.2 MB / 204.6 MB, free: 5.129 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.931/1.931, allocations: 377.9 MB / 0.624 GB, free: 8.352 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.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.413e-06/1.413e-06, allocations: 0 / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.423e-05, allocations: 7.594 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.005134/0.005148, allocations: 1.532 MB / 0.7615 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.006023, allocations: 0.6687 MB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.006061, allocations: 4 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.742e-05/0.006128, allocations: 9.516 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.006199, allocations: 17.34 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.006976, allocations: 358.9 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.007178, allocations: 166.7 kB / 0.7627 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.007216, allocations: 7.984 kB / 0.7627 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.007322, allocations: 93 kB / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.007387, allocations: 39.88 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.007412, allocations: 13.34 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.01079, allocations: 279.5 kB / 0.7631 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.01084, allocations: 35.91 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.0109, allocations: 49.14 kB / 0.7632 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.01124, allocations: 327.1 kB / 0.7635 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.01124, allocations: 0 / 0.7635 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.01125, allocations: 3.938 kB / 0.7635 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.01125, allocations: 1.25 kB / 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.0004185/0.01167, allocations: 376 kB / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.0117, allocations: 8.906 kB / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.01174, allocations: 16.92 kB / 0.7639 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.01189, allocations: 146.1 kB / 0.764 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.0119, allocations: 4.375 kB / 0.764 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.01192, allocations: 13.44 kB / 0.764 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.826e-05/0.01202, allocations: 81.02 kB / 0.7641 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.01203, allocations: 1.062 kB / 0.7641 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.01203, allocations: 4.375 kB / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.01204, allocations: 384 / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.01208, allocations: 37.55 kB / 0.7641 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.01221, allocations: 111.2 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.01229, allocations: 72.47 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.01234, allocations: 47.55 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.01235, allocations: 4 kB / 0.7644 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.01248, allocations: 122.5 kB / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.032e-06/0.01248, allocations: 0 / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.000179/0.01266, allocations: 120.6 kB / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.01271, allocations: 114.8 kB / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.01279, allocations: 147.5 kB / 0.7648 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.01282, allocations: 33.7 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.01286, allocations: 88.62 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.01291, allocations: 60.12 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.01298, allocations: 65.66 kB / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.01306, allocations: 332.2 kB / 0.7654 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.505e-05/0.0131, allocations: 19.11 kB / 0.7654 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.01329, allocations: 412.1 kB / 0.7658 GB, free: 432 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/0.01642, allocations: 90.3 kB / 0.7659 GB, free: 332 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01642, allocations: 0 / 0.7659 GB, free: 332 kB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001622/0.01658, allocations: 125.9 kB / 0.766 GB, free: 196 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.0166, allocations: 9.719 kB / 0.766 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.01661, allocations: 3.984 kB / 0.766 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.01663, allocations: 4 kB / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.01672, allocations: 27.98 kB / 0.766 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01672, allocations: 7.938 kB / 0.7661 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01683, allocations: 30.91 kB / 0.7661 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.01684, allocations: 4 kB / 0.7661 GB, free: 112 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 9.966e-05/0.01694, allocations: 143.3 kB / 0.7662 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.01696, allocations: 7.984 kB / 0.7662 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.01699, allocations: 20.78 kB / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01699, allocations: 7.938 kB / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.01699, allocations: 0 / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.017, allocations: 9.422 kB / 0.7663 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.493e-05/0.01709, allocations: 89.77 kB / 0.7664 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.0171, allocations: 0 / 0.7664 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.01712, allocations: 15.94 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01713, allocations: 1.406 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.01713, allocations: 4 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01714, allocations: 4 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01714, allocations: 3.984 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.01727, allocations: 133.2 kB / 0.7665 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.01728, allocations: 11.89 kB / 0.7665 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.0173, allocations: 11.94 kB / 0.7665 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.01734, allocations: 4.656 kB / 0.7665 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.01737, allocations: 15.92 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.01738, allocations: 4.609 kB / 0.7666 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.729e-05/0.0174, allocations: 25.48 kB / 0.7666 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0174, allocations: 0 / 0.7666 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002891/0.01769, allocations: 105 kB / 0.7667 GB, free: 15.45 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.0002575/0.01795, allocations: 200.1 kB / 0.7669 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.01814, allocations: 164.8 kB / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.01814, allocations: 4 kB / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.01819, allocations: 36.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 9.636e-05/0.01829, allocations: 8 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.0003358/0.01862, allocations: 249.4 kB / 0.7673 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.01867, allocations: 70.84 kB / 0.7674 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.01871, allocations: 13.25 kB / 0.7674 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.01881, allocations: 75.36 kB / 0.7675 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of SimCode: time 5.92e-07/0.01881, allocations: 0 / 0.7675 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.01195/0.03075, 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.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.212095333728939]