Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001209/0.001209, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 172.2 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.898/2.898, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005228/0.0005228, allocations: 8 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8729, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001904/0.8749, allocations: 1.207 MB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.8763, allocations: 0.7127 MB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.8763, allocations: 4 kB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.8765, allocations: 7.922 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.8766, allocations: 3.938 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.878, allocations: 303.2 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.8783, allocations: 151.7 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.8783, allocations: 15.97 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.8784, allocations: 71.77 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.8786, allocations: 47.81 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.8786, allocations: 8 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.879, allocations: 227.8 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.8791, allocations: 35.89 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.8792, allocations: 89.42 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.8795, allocations: 209.5 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8795, allocations: 0 / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.279e-06/0.8795, allocations: 0 / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8796, allocations: 3.938 kB / 1.027 GB, free: 12.82 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.00069/0.8802, allocations: 451 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.8803, allocations: 12.03 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.8804, allocations: 12.84 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.8806, allocations: 206.2 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.8807, allocations: 8.375 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.8807, allocations: 12.36 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.8809, allocations: 104.6 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.8809, allocations: 192 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.881, allocations: 3.938 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.881, allocations: 4 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.8811, allocations: 51.91 kB / 1.028 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.8814, allocations: 239.4 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.8816, allocations: 119.8 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.8817, allocations: 74.66 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.8817, allocations: 3.938 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.882, allocations: 142.3 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/0.882, allocations: 4 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004932/0.8825, allocations: 213.5 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.8826, allocations: 122.8 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.8828, allocations: 139.3 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.8828, allocations: 33.7 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.8829, allocations: 100.7 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/0.883, allocations: 51.3 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.883, allocations: 33.7 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.8832, allocations: 330.8 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/0.8833, allocations: 52.25 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.8835, allocations: 188.2 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.8837, allocations: 138.5 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8838, allocations: 0 / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002996/0.8841, allocations: 197.3 kB / 1.03 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.8841, allocations: 4 kB / 1.03 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.8841, allocations: 7.938 kB / 1.03 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8841, allocations: 4 kB / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.8842, allocations: 15.98 kB / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.8843, allocations: 4 kB / 1.03 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.8845, allocations: 61.81 kB / 1.03 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.8845, allocations: 12 kB / 1.03 GB, free: 9.387 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 (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 0.0001468/0.8847, allocations: 136.6 kB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.8847, allocations: 19.73 kB / 1.03 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.8848, allocations: 12.72 kB / 1.03 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.8848, allocations: 8 kB / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8848, allocations: 0 / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8848, allocations: 0 / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.885, allocations: 205.5 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.885, allocations: 0 / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.8851, allocations: 19.94 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8851, allocations: 0 / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.8851, allocations: 4.141 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8851, allocations: 3.984 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8851, allocations: 0 / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.8854, allocations: 219.2 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.8855, allocations: 88.95 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.8855, allocations: 7.984 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.8855, allocations: 11.94 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.8856, allocations: 15.86 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.8856, allocations: 8 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.136e-05/0.8857, allocations: 112.8 kB / 1.031 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8857, allocations: 0 / 1.031 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003809/0.8861, allocations: 99.92 kB / 1.031 GB, free: 8.332 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 (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.0003492/0.8865, allocations: 195.4 kB / 1.031 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.8868, allocations: 215.6 kB / 1.031 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8868, allocations: 0 / 1.031 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.8869, allocations: 59.92 kB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.8871, allocations: 13.8 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.8877, allocations: 310.9 kB / 1.031 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.8881, allocations: 0.7087 MB / 1.032 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.8881, allocations: 19.42 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8881, allocations: 0 / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.00599/0.8941, allocations: 3.079 MB / 1.035 GB, free: 3.684 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.occupied,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.occupied,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time