Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002348/0.002348, allocations: 116.2 kB / 16.42 MB, free: 6.504 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.002676/0.002677, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.547/1.547, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.601/2.601, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.112, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003609/1.116, allocations: 1.477 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001173/1.117, allocations: 0.689 MB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/1.117, allocations: 1.062 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.405e-05/1.117, allocations: 11.95 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-05/1.117, allocations: 21.52 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/1.119, allocations: 351 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000293/1.119, allocations: 171 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.536e-05/1.119, allocations: 6.031 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/1.119, allocations: 72.91 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/1.119, allocations: 55.34 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/1.119, allocations: 12.44 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/1.12, allocations: 247.4 kB / 1.092 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.67e-05/1.12, allocations: 38.7 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/1.12, allocations: 61.34 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006051/1.121, allocations: 305.5 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.121, allocations: 1.219 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.424e-06/1.121, allocations: 0 / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.121, allocations: 3.938 kB / 1.092 GB, free: 3.516 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.0007659/1.121, allocations: 476.6 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.121, allocations: 8.281 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.118e-05/1.121, allocations: 12.12 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/1.122, allocations: 209.3 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.122, allocations: 5.5 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/1.122, allocations: 12.55 kB / 1.093 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/1.122, allocations: 98.83 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.122, allocations: 8.172 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/1.122, allocations: 9.531 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.122, allocations: 1.969 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/1.122, allocations: 45.28 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/1.122, allocations: 250.9 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/1.123, allocations: 109.7 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/1.123, allocations: 69.92 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/1.123, allocations: 2.266 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/1.123, allocations: 139.6 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/1.123, allocations: 0 / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0004857/1.124, allocations: 218.2 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/1.124, allocations: 119.2 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.124, allocations: 143 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/1.124, allocations: 39.14 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/1.124, allocations: 96.58 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/1.124, allocations: 55.7 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.124, allocations: 63.44 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/1.124, allocations: 332.7 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/1.124, allocations: 47.58 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/1.125, allocations: 177.5 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/1.125, allocations: 137 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.125, allocations: 0.8125 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003475/1.125, allocations: 200.7 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.125, allocations: 5.734 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/1.125, allocations: 5.547 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/1.125, allocations: 0.9688 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/1.125, allocations: 12.47 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.125, allocations: 5.656 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/1.126, allocations: 52.73 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/1.126, allocations: 9.844 kB / 1.095 GB, free: 1.062 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.0001246/1.126, allocations: 136.5 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/1.126, allocations: 17.42 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/1.126, allocations: 21.67 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.126, allocations: 1.266 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.126, allocations: 5.422 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/1.126, allocations: 85.88 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/1.126, allocations: 3.203 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/1.126, allocations: 12.67 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/1.126, allocations: 15.55 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004254/1.127, allocations: 415.6 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003912/1.127, allocations: 0.4907 MB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001057/1.127, allocations: 61.92 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.787e-05/1.127, allocations: 101.2 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of Backend: time 3.81e-07/1.127, allocations: 0 / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001092/1.128, allocations: 354.5 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007023/1.129, allocations: 0.6453 MB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.008929/1.138, allocations: 3.197 MB / 1.1 GB, free: 14.82 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches