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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001579/0.001579, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00234/0.00234, allocations: 190.9 kB / 16.14 MB, free: 6.711 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.531/1.531, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.167/3.167, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.06 kB / 0.8984 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4691, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002962/0.4721, allocations: 1.54 MB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.4734, allocations: 0.736 MB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.4735, allocations: 0 / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.932e-05/0.4736, allocations: 7.922 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.4737, allocations: 15.91 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000877/0.4745, allocations: 289.4 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.4748, allocations: 167.6 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.4748, allocations: 12 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.4749, allocations: 59.83 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.475, allocations: 47.81 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.4751, allocations: 8 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.4754, allocations: 243.7 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.4755, allocations: 27.91 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.053e-05/0.4756, allocations: 59.7 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.476, allocations: 295.6 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.476, allocations: 7.938 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.02e-07/0.476, allocations: 0 / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.476, allocations: 0 / 1.055 GB, free: 5.328 MB / 0.8106 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.0006626/0.4767, allocations: 479.9 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4768, allocations: 8.031 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.4768, allocations: 16.75 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.4771, allocations: 212.1 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4771, allocations: 4.375 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.4771, allocations: 16.31 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4773, allocations: 99.3 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4774, allocations: 192 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4774, allocations: 7.938 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4774, allocations: 4 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.4775, allocations: 43.91 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.4778, allocations: 255.3 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.478, allocations: 107.9 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.4781, allocations: 74.61 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.4781, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.4784, allocations: 139.3 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.4784, allocations: 0 / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.000437/0.4789, allocations: 218.1 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.479, allocations: 118.8 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.4791, allocations: 141.8 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.4792, allocations: 41.7 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.4793, allocations: 92.7 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.4794, allocations: 63.19 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/0.4795, allocations: 61.69 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.4796, allocations: 330.8 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4798, allocations: 44.27 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.4801, allocations: 180.5 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.4805, allocations: 130.5 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4805, allocations: 0 / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005138/0.481, allocations: 201.4 kB / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.4811, allocations: 8 kB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/0.4811, allocations: 8 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4812, allocations: 0 / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.4813, allocations: 19.92 kB / 1.058 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.4814, allocations: 4.062 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.4817, allocations: 47.8 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.4817, allocations: 8 kB / 1.059 GB, free: 1.867 MB / 0.8106 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.000195/0.4819, allocations: 144 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.482, allocations: 15.84 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.4821, allocations: 16.72 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4821, allocations: 0 / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.4821, allocations: 4 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4821, allocations: 3.984 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.4824, allocations: 209.4 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4824, allocations: 0 / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.4825, allocations: 11.98 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.4825, allocations: 4.141 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.4825, allocations: 4 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4825, allocations: 8 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4825, allocations: 3.984 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.483, allocations: 210.4 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.4831, allocations: 89 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.4831, allocations: 4 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.4832, allocations: 11.94 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.4833, allocations: 11.98 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.4834, allocations: 4 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.6e-05/0.4835, allocations: 109.3 kB / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4835, allocations: 0 / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000442/0.4839, allocations: 103.9 kB / 1.059 GB, free: 0.8203 MB / 0.8106 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.0003496/0.4843, allocations: 207.3 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.4846, allocations: 216.9 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4846, allocations: 8 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.564e-05/0.4848, allocations: 59.91 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.485, allocations: 12.69 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.4855, allocations: 278.4 kB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4859, allocations: 0.7087 MB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.157e-05/0.4859, allocations: 12.88 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.486, allocations: 15.44 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.486, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of Templates: time 0.006916/0.4929, allocations: 2.946 MB / 1.064 GB, free: 12.33 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) 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) Reference file matches