Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003762, allocations: 8 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9356/0.936, allocations: 153.7 MB / 1.021 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001531/0.9375, allocations: 1.164 MB / 1.022 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.9385, allocations: 0.6117 MB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.9386, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.961e-05/0.9386, allocations: 7.922 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.9387, allocations: 11.98 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007357/0.9395, allocations: 282.2 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.9396, allocations: 95.83 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.9397, allocations: 11.98 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.9398, allocations: 67.81 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.9399, allocations: 47.81 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.9399, allocations: 8 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.9402, allocations: 203.7 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.9403, allocations: 35.89 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.9404, allocations: 41.64 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.9407, allocations: 213.7 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.9407, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9407, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.9407, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 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.0005875/0.9413, allocations: 446.9 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.9413, allocations: 11.98 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.9414, allocations: 15.81 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.9416, allocations: 212.8 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.9416, allocations: 4 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.9417, allocations: 19.95 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.9419, allocations: 100.2 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9419, allocations: 0 / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.9419, allocations: 4 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.9419, allocations: 3.984 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.942, allocations: 43.97 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.9423, allocations: 259.2 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.9424, allocations: 99.92 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.9424, allocations: 7.938 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.9427, allocations: 135.7 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 2.375e-06/0.9427, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004986/0.9432, allocations: 460.6 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.9433, allocations: 114.8 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.9434, allocations: 142.7 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.9434, allocations: 33.7 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.9435, allocations: 100.7 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/0.9436, allocations: 59.28 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.9436, allocations: 7.938 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9437, allocations: 322.8 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.9438, allocations: 56.25 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.944, allocations: 188.2 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.9441, allocations: 63.94 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9441, allocations: 0 / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002882/0.9444, allocations: 193.4 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.9445, allocations: 11.95 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.9445, allocations: 8 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.9445, allocations: 3.984 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.9446, allocations: 19.94 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.9446, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.9448, allocations: 54.55 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.9449, allocations: 8 kB / 1.027 GB, free: 10.96 MB / 0.7794 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.945, allocations: 144 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.945, allocations: 15.81 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.9451, allocations: 12.67 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9451, allocations: 4 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9451, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.9451, allocations: 3.984 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.9453, allocations: 201.5 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9453, allocations: 4.141 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.9453, allocations: 11.98 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.9453, allocations: 7.984 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.9454, allocations: 8 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.9454, allocations: 3.953 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9454, allocations: 3.938 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.9457, allocations: 235.3 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.9457, allocations: 96.81 kB / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.9458, allocations: 4 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.9458, allocations: 8 kB / 1.027 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.9459, allocations: 11.98 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.9459, allocations: 7.984 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.946, allocations: 105.3 kB / 1.027 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.946, allocations: 0 / 1.027 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003717/0.9464, allocations: 103.9 kB / 1.028 GB, free: 9.883 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003262/0.9467, allocations: 199.1 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.947, allocations: 222.5 kB / 1.028 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.947, allocations: 0 / 1.028 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.9471, allocations: 55.92 kB / 1.028 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.9473, allocations: 8 kB / 1.028 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.9477, allocations: 271.8 kB / 1.028 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.9481, allocations: 0.7165 MB / 1.029 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.994e-05/0.9481, allocations: 8.891 kB / 1.029 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.9482, allocations: 15.44 kB / 1.029 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9482, allocations: 3.938 kB / 1.029 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of Templates: time 0.005777/0.954, allocations: 2.863 MB / 1.032 GB, free: 5.488 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches