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.006636/0.006636, allocations: 97.44 kB / 15.73 MB, free: 6.043 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.001513/0.001513, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.082/3.082, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.89 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4486, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003479/0.4521, allocations: 1.479 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.4538, allocations: 0.6851 MB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.4539, allocations: 4 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.4541, allocations: 7.922 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.4542, allocations: 23.78 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.4558, allocations: 346.7 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.4562, allocations: 163.7 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.4562, allocations: 11.98 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.4564, allocations: 75.81 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.4566, allocations: 55.75 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.75e-05/0.4566, allocations: 15.94 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005516/0.4572, allocations: 239.8 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.4573, allocations: 43.89 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.4574, allocations: 59.7 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.4582, allocations: 303.1 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4582, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4582, allocations: 4 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.4582, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 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.0008463/0.4591, allocations: 478.5 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.4591, allocations: 8.031 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.4592, allocations: 12.89 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.4595, allocations: 217.9 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4595, allocations: 8.375 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.4596, allocations: 16.3 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.4598, allocations: 104.7 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4598, allocations: 4.172 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.4598, allocations: 3.938 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4598, allocations: 0 / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.4599, allocations: 47.97 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.4603, allocations: 239.4 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.4604, allocations: 107.9 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.4605, allocations: 66.59 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.4605, allocations: 4 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.4608, allocations: 139.3 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.4608, allocations: 0 / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0004992/0.4613, allocations: 218.1 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.4614, allocations: 122.8 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.4616, allocations: 147.7 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.4616, allocations: 37.7 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.4617, allocations: 100.7 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.4618, allocations: 55.53 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.4619, allocations: 65.69 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4621, allocations: 322.8 kB / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4622, allocations: 52.25 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.4624, allocations: 186.4 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.4626, allocations: 130.5 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4626, allocations: 0 / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003474/0.463, allocations: 205.4 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.463, allocations: 8 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/0.463, allocations: 7.938 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4631, allocations: 4 kB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.4632, allocations: 15.94 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4632, allocations: 0 / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.4634, allocations: 51.83 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.4635, allocations: 8 kB / 1.227 GB, free: 6.906 MB / 0.9825 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.0001625/0.4636, allocations: 140.7 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.4636, allocations: 15.84 kB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.4637, allocations: 24.7 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4637, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4637, allocations: 4 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4637, allocations: 0 / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.4639, allocations: 213.4 kB / 1.227 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4639, allocations: 0 / 1.227 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.4639, allocations: 12 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.4639, allocations: 4 kB / 1.227 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.464, allocations: 0 / 1.227 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.464, allocations: 4 kB / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.464, allocations: 7.938 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.4643, allocations: 212.7 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.4643, allocations: 89.02 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.4643, allocations: 4 kB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.4644, allocations: 11.92 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.4645, allocations: 15.98 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4645, allocations: 4 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.421e-05/0.4646, allocations: 105.9 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4646, allocations: 0 / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004064/0.465, allocations: 107.7 kB / 1.228 GB, free: 5.848 MB / 0.9825 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.0003651/0.4653, allocations: 198.9 kB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.4657, allocations: 208.9 kB / 1.228 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4657, allocations: 0 / 1.228 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.4658, allocations: 51.91 kB / 1.228 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.466, allocations: 8 kB / 1.228 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.4665, allocations: 252.5 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4668, allocations: 0.7084 MB / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.4669, allocations: 16.88 kB / 1.229 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.4669, allocations: 15.44 kB / 1.229 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of SimCode: time 9.82e-07/0.4669, allocations: 0 / 1.229 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.007217/0.4741, allocations: 3.105 MB / 1.232 GB, free: 1.242 MB / 0.9825 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches