Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.01006/0.01006, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.002049/0.00205, allocations: 187.6 kB / 16.67 MB, free: 5.918 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.548/1.548, 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 10.1.1-maint.10.0.x/package.mo): time 2.998/2.998, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4737, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.004454/0.4782, allocations: 1.487 MB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.4801, allocations: 0.689 MB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.4802, allocations: 8 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.4805, allocations: 11.86 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.4806, allocations: 15.86 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.4822, allocations: 338.7 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.4826, allocations: 167.6 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.1e-05/0.4827, allocations: 11.98 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.4829, allocations: 71.81 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.4831, allocations: 55.77 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.4832, allocations: 12 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006076/0.4838, allocations: 247.8 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.4839, allocations: 43.83 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.4841, allocations: 63.72 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.4849, allocations: 303 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4849, allocations: 0 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.196e-06/0.4849, allocations: 0 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.4849, allocations: 0 / 1.17 GB, free: 3.336 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.001174/0.4861, allocations: 490.4 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.945e-05/0.4862, allocations: 8.031 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.4863, allocations: 12.89 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.4868, allocations: 212.2 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.4868, allocations: 12.31 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.4868, allocations: 8.375 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.4871, allocations: 104.8 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.4871, allocations: 192 / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.4872, allocations: 3.938 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.4872, allocations: 0 / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.4874, allocations: 51.91 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.4878, allocations: 239.4 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.488, allocations: 115.9 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4882, allocations: 74.64 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.4882, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.4887, allocations: 145.8 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.4887, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0005879/0.4893, allocations: 218.1 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.4894, allocations: 114.8 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.4896, allocations: 147.3 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.4896, allocations: 37.7 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.4897, allocations: 96.69 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.4899, allocations: 59.58 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.49, allocations: 65.69 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4902, allocations: 322.8 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.4903, allocations: 56.25 kB / 1.172 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.4906, allocations: 180.4 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.4908, allocations: 130.5 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4908, allocations: 0 / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004526/0.4913, allocations: 205.4 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.4913, allocations: 8 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/0.4914, allocations: 7.984 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.4914, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4916, allocations: 23.88 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4916, allocations: 0 / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.4918, allocations: 47.84 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.4919, allocations: 7.984 kB / 1.173 GB, free: 15.85 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.000185/0.4921, allocations: 136.1 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.4921, allocations: 19.78 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.4922, allocations: 20.7 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4922, allocations: 7.938 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4922, allocations: 0 / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4922, allocations: 4 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4925, allocations: 209.4 kB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4925, allocations: 0 / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.4925, allocations: 8 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4926, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.4926, allocations: 4 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4926, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.4926, allocations: 4 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.493, allocations: 213.2 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.4931, allocations: 92.95 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4931, allocations: 8 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.4932, allocations: 11.92 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.4933, allocations: 11.98 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4933, allocations: 4 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001042/0.4934, allocations: 113.1 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4934, allocations: 0 / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005179/0.4939, allocations: 99.8 kB / 1.174 GB, free: 14.8 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.0005225/0.4945, allocations: 207.2 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004277/0.4949, allocations: 216.9 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.4949, allocations: 4 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4951, allocations: 59.91 kB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.4953, allocations: 12 kB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.496, allocations: 248.4 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.4964, allocations: 0.7084 MB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.584e-05/0.4965, allocations: 12.88 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.4965, allocations: 15.44 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.4965, allocations: 4 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.009534/0.5061, allocations: 3.095 MB / 1.178 GB, free: 10.18 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches