Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001585/0.001585, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001428/0.001428, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.598/1.598, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.877/2.877, allocations: 469.8 MB / 0.743 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003294/0.003294, allocations: 64.19 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4411, allocations: 159.1 MB / 1.065 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003338/0.4445, allocations: 1.493 MB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.4459, allocations: 0.689 MB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.446, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.4461, allocations: 11.92 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.4462, allocations: 15.81 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4473, allocations: 342.5 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.4476, allocations: 167.7 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.4476, allocations: 11.98 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.822e-05/0.4477, allocations: 71.77 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.4479, allocations: 51.81 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.4479, allocations: 12 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.4483, allocations: 247.8 kB / 1.068 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/0.4484, allocations: 31.91 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.4485, allocations: 67.7 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.449, allocations: 307.6 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.449, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.214e-06/0.449, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.449, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 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.0007598/0.4498, allocations: 475 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4498, allocations: 12.62 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.4499, allocations: 12.84 kB / 1.069 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.4502, allocations: 208.1 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4502, allocations: 4.375 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.4502, allocations: 16.36 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.4505, allocations: 102.9 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4505, allocations: 4.125 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.4505, allocations: 7.938 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4505, allocations: 3.938 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.4506, allocations: 43.97 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.451, allocations: 247.5 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.4511, allocations: 111.9 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.4513, allocations: 74.64 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.4513, allocations: 3.938 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/0.4516, allocations: 137.8 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.492e-06/0.4516, allocations: 0 / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.000444/0.4521, allocations: 213.4 kB / 1.07 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.4522, allocations: 118.8 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4523, allocations: 137.7 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.4524, allocations: 41.7 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.4525, allocations: 96.69 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.4525, allocations: 67.22 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.4526, allocations: 61.62 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4528, allocations: 326.8 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4529, allocations: 52.25 kB / 1.07 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4532, allocations: 182.4 kB / 1.071 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.4534, allocations: 130.6 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4534, allocations: 3.938 kB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00032/0.4537, allocations: 205.2 kB / 1.071 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4537, allocations: 6.031 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.4538, allocations: 4 kB / 1.071 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4538, allocations: 4 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.4539, allocations: 15.94 kB / 1.071 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4539, allocations: 4.938 kB / 1.071 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.4542, allocations: 47.78 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.4542, allocations: 12 kB / 1.071 GB, free: 7.805 MB / 0.8419 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.0001438/0.4543, allocations: 132 kB / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.4544, allocations: 15.75 kB / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.4544, allocations: 20.7 kB / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4544, allocations: 8 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4544, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4544, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.4546, allocations: 209.5 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4547, allocations: 4 kB / 1.071 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.4547, allocations: 8 kB / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4547, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.4547, allocations: 8 kB / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4547, allocations: 0 / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4548, allocations: 0 / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.4551, allocations: 222.4 kB / 1.072 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.4551, allocations: 85.02 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.4552, allocations: 0 / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.4552, allocations: 19.92 kB / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.4553, allocations: 7.984 kB / 1.072 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4553, allocations: 8.141 kB / 1.072 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.146e-05/0.4554, allocations: 103.3 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4554, allocations: 0 / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003666/0.4558, allocations: 103.9 kB / 1.072 GB, free: 6.77 MB / 0.8419 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.0003572/0.4562, allocations: 215 kB / 1.072 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.4565, allocations: 221 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4566, allocations: 3.938 kB / 1.072 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4567, allocations: 59.92 kB / 1.072 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.4568, allocations: 11.91 kB / 1.072 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.4574, allocations: 278.4 kB / 1.073 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4578, allocations: 0.7161 MB / 1.073 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.4578, allocations: 15.44 kB / 1.073 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4578, allocations: 0 / 1.073 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of Templates: time 0.005672/0.4635, allocations: 3.105 MB / 1.076 GB, free: 2.09 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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