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.006967/0.006974, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001511/0.001511, allocations: 190 kB / 16.67 MB, free: 6.379 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.216/3.216, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 68.11 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5005, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003667/0.5043, allocations: 1.48 MB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.5059, allocations: 0.6928 MB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.5061, allocations: 4 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.5062, allocations: 11.86 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.5064, allocations: 15.86 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.5081, allocations: 343.6 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.5084, allocations: 175.6 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.554e-05/0.5085, allocations: 15.97 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.5087, allocations: 67.83 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.5088, allocations: 47.81 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.5089, allocations: 12 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.5094, allocations: 251.8 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.587e-05/0.5095, allocations: 36.41 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.5096, allocations: 67.7 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.5104, allocations: 307.2 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5104, allocations: 0 / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5104, allocations: 0 / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.5104, allocations: 0 / 1.211 GB, free: 6.109 MB / 0.9669 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.0008584/0.5113, allocations: 482.8 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.5113, allocations: 8.625 kB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.614e-05/0.5114, allocations: 16.84 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.5117, allocations: 208.1 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.5118, allocations: 8.312 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.5118, allocations: 16.36 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.512, allocations: 98.2 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.5121, allocations: 4.125 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.5121, allocations: 3.938 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.5121, allocations: 0 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.5122, allocations: 59.84 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.5126, allocations: 239.4 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.5128, allocations: 107.9 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.5129, allocations: 78.64 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.513, allocations: 0 / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.5133, allocations: 141.8 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.5133, allocations: 0 / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.000481/0.5138, allocations: 217.9 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.5139, allocations: 118.7 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.5141, allocations: 147.3 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.5141, allocations: 33.7 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.5142, allocations: 104.6 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.5143, allocations: 51.36 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.5144, allocations: 61.69 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002481/0.5147, allocations: 326.8 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5148, allocations: 56.25 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.515, allocations: 180.5 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.5152, allocations: 138.5 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5153, allocations: 0 / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003336/0.5156, allocations: 197.3 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5156, allocations: 8 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/0.5157, allocations: 4 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5157, allocations: 0 / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.5158, allocations: 19.94 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5158, allocations: 0 / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.5161, allocations: 51.78 kB / 1.214 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.5161, allocations: 8 kB / 1.214 GB, free: 2.641 MB / 0.9669 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.0001381/0.5162, allocations: 136.1 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.5163, allocations: 15.75 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.5163, allocations: 16.7 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5163, allocations: 3.938 kB / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5163, allocations: 0 / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.5164, allocations: 4 kB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.5166, allocations: 213.4 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5166, allocations: 0 / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.5166, allocations: 12 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5166, allocations: 0 / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.5167, allocations: 8 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5167, allocations: 0 / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5167, allocations: 4 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.517, allocations: 210.5 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.5171, allocations: 92.92 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.5171, allocations: 7.938 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.5172, allocations: 15.92 kB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.5172, allocations: 7.984 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5172, allocations: 8 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.924e-05/0.5173, allocations: 100.7 kB / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.5173, allocations: 0 / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004079/0.5178, allocations: 99.92 kB / 1.215 GB, free: 1.602 MB / 0.9669 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.0004165/0.5182, allocations: 215.5 kB / 1.215 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.5186, allocations: 219.5 kB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5186, allocations: 0 / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.5187, allocations: 67.89 kB / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.5189, allocations: 13.38 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.5194, allocations: 236.7 kB / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.5198, allocations: 0.7084 MB / 1.216 GB, free: 76 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.219e-05/0.5199, allocations: 12.88 kB / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.5199, allocations: 15.44 kB / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of SimCode: time 1.8e-07/0.5199, allocations: 0 / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of Templates: time 0.007768/0.5277, allocations: 3.142 MB / 1.22 GB, free: 12.94 MB / 0.9825 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