Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.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_11_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_11_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.007983/0.007983, allocations: 98.36 kB / 15.73 MB, free: 6.012 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.00195/0.00195, allocations: 193.2 kB / 16.67 MB, free: 5.949 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 2.966/2.966, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 67.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.466, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.004322/0.4703, allocations: 1.487 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.4721, allocations: 0.6889 MB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.4722, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.4724, allocations: 19.86 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.4725, allocations: 11.86 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.4742, allocations: 347 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005553/0.4747, allocations: 171.6 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.4748, allocations: 7.984 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.475, allocations: 71.81 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.4751, allocations: 51.83 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.4752, allocations: 8 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.476, allocations: 251.8 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.4761, allocations: 43.89 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.4763, allocations: 55.72 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008263/0.4771, allocations: 307 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4771, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4771, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.4771, allocations: 0 / 1.224 GB, free: 10.35 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.00111/0.4782, allocations: 480.2 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001201/0.4783, allocations: 12.03 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.4784, allocations: 12.89 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.4787, allocations: 220 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.4788, allocations: 8.375 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.4788, allocations: 12.31 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.479, allocations: 98.34 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4791, allocations: 4.188 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.4791, allocations: 11.88 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4791, allocations: 0 / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.4792, allocations: 51.91 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.4796, allocations: 239.4 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.4799, allocations: 107.9 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.48, allocations: 62.66 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.48, allocations: 3.984 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.4804, allocations: 138.9 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.764e-06/0.4804, allocations: 4 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006437/0.481, allocations: 210.2 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/0.4811, allocations: 118.8 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.4813, allocations: 147.2 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.4814, allocations: 41.7 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.4814, allocations: 96.69 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.4815, allocations: 59.52 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.4817, allocations: 65.69 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4819, allocations: 326.8 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.482, allocations: 48.27 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.4823, allocations: 180.5 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.4826, allocations: 134.5 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4826, allocations: 0 / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004569/0.4831, allocations: 205.4 kB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4831, allocations: 4 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.4832, allocations: 7.984 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.4832, allocations: 4 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4833, allocations: 11.94 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.4833, allocations: 4 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.4836, allocations: 53.39 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.4836, allocations: 12.22 kB / 1.227 GB, free: 6.883 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.0001804/0.4838, allocations: 132.6 kB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.4839, allocations: 19.84 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.4839, allocations: 16.7 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4839, allocations: 4 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.4839, allocations: 0 / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4839, allocations: 4 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.4842, allocations: 217.4 kB / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4842, allocations: 4 kB / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.4843, allocations: 8 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4843, allocations: 0 / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.4843, allocations: 4 kB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4843, allocations: 0 / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4843, allocations: 0 / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.4847, allocations: 228.7 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.4848, allocations: 93.02 kB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.4848, allocations: 4 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.4849, allocations: 8.062 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.485, allocations: 15.98 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.485, allocations: 7.984 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001213/0.4851, allocations: 105.5 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4851, allocations: 4 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006132/0.4857, allocations: 103.7 kB / 1.228 GB, free: 5.82 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.0004531/0.4862, allocations: 195 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.4866, allocations: 212.9 kB / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.4867, allocations: 4 kB / 1.228 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.4868, allocations: 47.91 kB / 1.228 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.4871, allocations: 12 kB / 1.228 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.4878, allocations: 248.5 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.4882, allocations: 0.7045 MB / 1.229 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.975e-05/0.4883, allocations: 12.88 kB / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.4883, allocations: 19.44 kB / 1.229 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of SimCode: time 9.31e-07/0.4883, allocations: 0 / 1.229 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of Templates: time 0.009512/0.4978, allocations: 3.098 MB / 1.232 GB, free: 1.23 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches