Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002686/0.002686, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 216.4 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.564/3.564, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 68.86 kB / 1.186 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4487, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003396/0.4521, allocations: 1.489 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.4535, allocations: 0.6199 MB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.4535, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.4536, allocations: 11.92 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.4537, allocations: 15.84 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.4549, allocations: 365.3 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.4553, allocations: 167.7 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.313e-05/0.4553, allocations: 4 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.4554, allocations: 75.81 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.4555, allocations: 47.77 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.017e-05/0.4556, allocations: 12 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.4561, allocations: 275.6 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.547e-05/0.4562, allocations: 35.91 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.375e-05/0.4563, allocations: 51.78 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.4568, allocations: 319 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4568, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4568, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4568, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 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.0007649/0.4576, allocations: 397.4 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4576, allocations: 12.03 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.4577, allocations: 12.89 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.4579, allocations: 158.2 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.458, allocations: 4.375 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.458, allocations: 16.38 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.4582, allocations: 103.2 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.4583, allocations: 192 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.4583, allocations: 3.938 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4583, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4584, allocations: 47.97 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.4587, allocations: 171.1 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.4589, allocations: 103.9 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.459, allocations: 66.59 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.459, allocations: 0 / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003608/0.4594, allocations: 145.8 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.4594, allocations: 0 / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0005191/0.4599, allocations: 217.3 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.46, allocations: 118.8 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.4602, allocations: 141.7 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.4602, allocations: 41.7 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.4603, allocations: 92.64 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.4604, allocations: 59.58 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.4605, allocations: 57.7 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4607, allocations: 330.8 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.756e-05/0.4608, allocations: 48.27 kB / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.4613, allocations: 467.2 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.4615, allocations: 130.5 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4615, allocations: 0 / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000347/0.4618, allocations: 205.3 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4619, allocations: 7.984 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.4619, allocations: 4 kB / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.4619, allocations: 4 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.462, allocations: 11.94 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.462, allocations: 4 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.4623, allocations: 51.83 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.4623, allocations: 16 kB / 1.37 GB, free: 6.625 MB / 1.061 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.0001703/0.4625, allocations: 132.4 kB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4625, allocations: 19.84 kB / 1.37 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.4626, allocations: 16.7 kB / 1.37 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4626, allocations: 4 kB / 1.37 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4626, allocations: 0 / 1.37 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4626, allocations: 4 kB / 1.37 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.4627, allocations: 141.2 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4627, allocations: 4 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.4628, allocations: 8 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.4628, allocations: 7.938 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4628, allocations: 0 / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.4628, allocations: 8.922 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4628, allocations: 3.938 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.4632, allocations: 208.5 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.4632, allocations: 15.84 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.4632, allocations: 7.984 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.4633, allocations: 8 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.4633, allocations: 16.06 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.4633, allocations: 7.984 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001035/0.4634, allocations: 109 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4634, allocations: 0 / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004372/0.4639, allocations: 99.8 kB / 1.371 GB, free: 5.754 MB / 1.061 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.0004557/0.4643, allocations: 209.7 kB / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003877/0.4647, allocations: 220.8 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4647, allocations: 0 / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.134e-05/0.4648, allocations: 43.92 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.465, allocations: 12 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.4656, allocations: 252.5 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.4657, allocations: 100.5 kB / 1.372 GB, free: 4.859 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.686e-05/0.4658, allocations: 12.97 kB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.4658, allocations: 11.44 kB / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4658, allocations: 0 / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of Templates: time 0.008831/0.4746, allocations: 3.289 MB / 1.375 GB, free: 1.594 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.019145766273141]