Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OccupancySchedulePositiveStartTime,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_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01344/0.01344, allocations: 100.1 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.001934/0.001934, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.654/1.654, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.029/3.029, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 66.33 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4458, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00298/0.4488, allocations: 1.481 MB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.4501, allocations: 0.6944 MB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.4502, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.088e-05/0.4503, allocations: 11.86 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.4504, allocations: 19.84 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4514, allocations: 342.5 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.4517, allocations: 171.6 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.989e-05/0.4518, allocations: 8 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.4519, allocations: 67.83 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.452, allocations: 51.81 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/0.452, allocations: 12 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.4524, allocations: 251.8 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.4525, allocations: 39.89 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.651e-05/0.4526, allocations: 59.72 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.453, allocations: 307.2 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.453, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4531, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.4531, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 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.000709/0.4538, allocations: 478.9 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4538, allocations: 8.031 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.4539, allocations: 16.83 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.4541, allocations: 209.4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4542, allocations: 8.375 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.4542, allocations: 12.38 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.4544, allocations: 108.6 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4544, allocations: 192 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.4545, allocations: 3.938 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4545, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.4546, allocations: 51.91 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.4549, allocations: 247.4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.4551, allocations: 107.8 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.4552, allocations: 70.7 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.4552, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.4555, allocations: 145.8 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.4555, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0004452/0.456, allocations: 213.3 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.4561, allocations: 122.8 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.4563, allocations: 143.8 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.4563, allocations: 33.7 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.4564, allocations: 100.7 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.4564, allocations: 47.36 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.4566, allocations: 65.69 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4567, allocations: 322.8 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.4568, allocations: 52.25 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.4571, allocations: 184.5 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.4573, allocations: 134.4 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4573, allocations: 4 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003057/0.4576, allocations: 205.2 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4576, allocations: 12 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.4576, allocations: 4 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4577, allocations: 0 / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.4578, allocations: 15.98 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4578, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.458, allocations: 51.73 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.458, allocations: 4 kB / 1.094 GB, free: 10.53 MB / 0.8575 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.0001627/0.4582, allocations: 148.2 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.4582, allocations: 19.73 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.4583, allocations: 16.72 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.4583, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4583, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.4583, allocations: 4 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.4585, allocations: 209.5 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4585, allocations: 0 / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.4586, allocations: 11.94 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4586, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4586, allocations: 4 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4586, allocations: 7.984 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4586, allocations: 4 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.4589, allocations: 207.6 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.459, allocations: 88.95 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.459, allocations: 11.98 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.4591, allocations: 11.94 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.4592, allocations: 15.92 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.4592, allocations: 4 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.029e-05/0.4593, allocations: 105.6 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.4593, allocations: 0 / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003969/0.4597, allocations: 99.98 kB / 1.095 GB, free: 9.477 MB / 0.8575 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.0003476/0.46, allocations: 199.1 kB / 1.095 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.4604, allocations: 222.2 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4604, allocations: 0 / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.4605, allocations: 59.92 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.4607, allocations: 10.81 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.4611, allocations: 252.7 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4615, allocations: 0.7123 MB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.4615, allocations: 8.891 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.4616, allocations: 19.44 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.4616, allocations: 0 / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of Templates: time 0.006518/0.4681, allocations: 3.099 MB / 1.1 GB, free: 4.855 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches