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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00634/0.00634, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00217/0.00217, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.868/2.868, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4669, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003133/0.4701, allocations: 1.488 MB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.4715, allocations: 0.689 MB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.4715, allocations: 0 / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.4717, allocations: 11.86 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.4718, allocations: 15.86 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.4729, allocations: 350.7 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.4732, allocations: 163.7 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.587e-05/0.4732, allocations: 7.984 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.4733, allocations: 75.83 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.4735, allocations: 55.75 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.4735, allocations: 12 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.4739, allocations: 243.8 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/0.474, allocations: 35.91 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.4741, allocations: 71.7 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.4746, allocations: 299 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.4746, allocations: 7.984 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.956e-06/0.4746, allocations: 0 / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.4746, allocations: 4 kB / 1.17 GB, free: 3.297 MB / 0.92 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.0007981/0.4754, allocations: 482.4 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4755, allocations: 12.03 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.4756, allocations: 8.891 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4759, allocations: 209.9 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4759, allocations: 12.38 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.4759, allocations: 8.375 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.4762, allocations: 100.7 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4762, allocations: 192 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4762, allocations: 7.922 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.4762, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.4763, allocations: 47.91 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.4767, allocations: 243.4 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.4768, allocations: 115.9 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.477, allocations: 70.67 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.477, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.4773, allocations: 148 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 9.91e-07/0.4773, allocations: 0 / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0004619/0.4778, allocations: 213.5 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.4779, allocations: 118.8 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.4781, allocations: 147.3 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4781, allocations: 37.7 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.4782, allocations: 100.7 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/0.4783, allocations: 55.58 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.4784, allocations: 57.7 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4786, allocations: 326.8 kB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4787, allocations: 52.27 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.4789, allocations: 180.4 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.4791, allocations: 138.5 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4791, allocations: 0 / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003178/0.4795, allocations: 201.4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4795, allocations: 4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.4795, allocations: 4 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.4796, allocations: 11.98 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4797, allocations: 11.94 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4797, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.4799, allocations: 51.78 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.48, allocations: 4 kB / 1.173 GB, free: 15.84 MB / 0.9356 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.0001581/0.4801, allocations: 146.1 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.4802, allocations: 19.83 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.4802, allocations: 20.72 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4802, allocations: 4 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.4802, allocations: 4 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4802, allocations: 3.984 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.4805, allocations: 209.4 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.4805, allocations: 0 / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.4805, allocations: 19.92 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4805, allocations: 0 / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4805, allocations: 0 / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4806, allocations: 4 kB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4806, allocations: 0 / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.4809, allocations: 214.6 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.481, allocations: 92.95 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.481, allocations: 4 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.4811, allocations: 7.938 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.4812, allocations: 11.98 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.4812, allocations: 11.94 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.396e-05/0.4813, allocations: 109.6 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4813, allocations: 0 / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004204/0.4817, allocations: 103.8 kB / 1.174 GB, free: 14.77 MB / 0.9356 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.0003827/0.4821, allocations: 196.2 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.4825, allocations: 220.9 kB / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4825, allocations: 0 / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.4826, allocations: 59.92 kB / 1.174 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.4829, allocations: 11.98 kB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.4834, allocations: 252.9 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.4838, allocations: 0.7084 MB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.633e-05/0.4839, allocations: 12.88 kB / 1.175 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.483e-05/0.4839, allocations: 23.44 kB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/0.4839, allocations: 0 / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of Templates: time 0.007142/0.4911, allocations: 3.087 MB / 1.178 GB, free: 10.16 MB / 0.9356 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches