Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.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.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006274/0.006274, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001452/0.001453, allocations: 192 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.551/2.551, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.094, allocations: 151.7 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004507/1.099, allocations: 2.475 MB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003014/1.102, allocations: 1.575 MB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/1.102, allocations: 11.88 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006814/1.103, allocations: 314.8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006569/1.103, allocations: 350.6 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/1.104, allocations: 433.4 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009997/1.105, allocations: 0.7129 MB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/1.106, allocations: 81.72 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/1.106, allocations: 342.7 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/1.106, allocations: 326.7 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/1.106, allocations: 28 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/1.107, allocations: 91.95 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003049/1.107, allocations: 187.3 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003193/1.107, allocations: 266.2 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009311/1.108, allocations: 0.7511 MB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.108, allocations: 0 / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.274e-06/1.108, allocations: 4 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.108, allocations: 0 / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0016/1.11, allocations: 1.03 MB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.11, allocations: 8.922 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/1.11, allocations: 80.42 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009991/1.111, allocations: 0.6413 MB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.111, allocations: 12.38 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/1.111, allocations: 19.86 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/1.112, allocations: 193.9 kB / 1.176 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.112, allocations: 3.984 kB / 1.176 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.112, allocations: 4 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.112, allocations: 4 kB / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/1.112, allocations: 99.88 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/1.114, allocations: 1.056 MB / 1.177 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/1.114, allocations: 273 kB / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/1.115, allocations: 104.2 kB / 1.178 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/1.115, allocations: 11.92 kB / 1.178 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/1.115, allocations: 228.1 kB / 1.178 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/1.115, allocations: 0 / 1.178 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.001161/1.116, allocations: 424.9 kB / 1.178 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.116, allocations: 162.2 kB / 1.179 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/1.118, allocations: 1.036 MB / 1.18 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/1.118, allocations: 33.7 kB / 1.18 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/1.118, allocations: 292.8 kB / 1.18 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/1.118, allocations: 75.52 kB / 1.18 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/1.118, allocations: 150.1 kB / 1.18 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.119, allocations: 333.9 kB / 1.18 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/1.119, allocations: 205.2 kB / 1.181 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/1.12, allocations: 307 kB / 1.181 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/1.12, allocations: 410.5 kB / 1.181 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.12, allocations: 4 kB / 1.181 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00128/1.122, allocations: 0.6789 MB / 1.182 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.122, allocations: 8 kB / 1.182 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.122, allocations: 4 kB / 1.182 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/1.122, allocations: 4 kB / 1.182 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/1.122, allocations: 115.8 kB / 1.182 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/1.122, allocations: 9.188 kB / 1.182 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/1.122, allocations: 43.77 kB / 1.182 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/1.122, allocations: 23.98 kB / 1.182 GB, free: 3.504 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003171/1.123, allocations: 288.6 kB / 1.182 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/1.123, allocations: 75.48 kB / 1.183 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/1.123, allocations: 73.88 kB / 1.183 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.123, allocations: 4 kB / 1.183 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.123, allocations: 7.938 kB / 1.183 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.123, allocations: 0 / 1.183 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006885/1.124, allocations: 461.2 kB / 1.183 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.124, allocations: 0 / 1.183 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/1.124, allocations: 27.92 kB / 1.183 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/1.124, allocations: 8 kB / 1.183 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/1.124, allocations: 7.984 kB / 1.183 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.124, allocations: 0 / 1.183 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.124, allocations: 7.938 kB / 1.183 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/1.125, allocations: 395.8 kB / 1.183 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/1.125, allocations: 164.5 kB / 1.184 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/1.125, allocations: 15.94 kB / 1.184 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/1.125, allocations: 11.98 kB / 1.184 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/1.125, allocations: 27.91 kB / 1.184 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/1.125, allocations: 19.98 kB / 1.184 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007146/1.126, allocations: 0.6005 MB / 1.184 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.126, allocations: 0 / 1.184 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004551/1.126, allocations: 115.9 kB / 1.184 GB, free: 1.121 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001324/1.128, allocations: 495.2 kB / 1.185 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007736/1.129, allocations: 396.6 kB / 1.185 GB, free: 424 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.129, allocations: 0 / 1.185 GB, free: 424 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/1.129, allocations: 111.8 kB / 1.185 GB, free: 312 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/1.13, allocations: 222 kB / 1.186 GB, free: 104 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/1.131, allocations: 1.102 MB / 1.187 GB, free: 14.96 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007779/1.132, allocations: 0.9324 MB / 1.188 GB, free: 14 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003834/1.133, allocations: 108.9 kB / 1.188 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/1.133, allocations: 59.41 kB / 1.188 GB, free: 13.83 MB / 0.92 GB Notification: Performance of SimCode: time 1.082e-06/1.133, allocations: 0 / 1.188 GB, free: 13.83 MB / 0.92 GB Notification: Performance of Templates: time 0.01639/1.149, allocations: 7.82 MB / 1.195 GB, free: 6.09 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches