Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.008476/0.008476, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001676/0.001677, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.7 MB / 0.7453 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 75.81 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.151, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.00463/1.155, allocations: 2.481 MB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003487/1.159, allocations: 1.568 MB / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/1.159, allocations: 15.88 kB / 1.23 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008071/1.16, allocations: 318.9 kB / 1.23 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006206/1.161, allocations: 342.6 kB / 1.23 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/1.162, allocations: 437.1 kB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009024/1.163, allocations: 0.7129 MB / 1.231 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/1.163, allocations: 73.72 kB / 1.231 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004581/1.163, allocations: 322.7 kB / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/1.164, allocations: 318.7 kB / 1.232 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/1.164, allocations: 32 kB / 1.232 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/1.164, allocations: 87.97 kB / 1.232 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/1.165, allocations: 187.3 kB / 1.232 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/1.165, allocations: 274.1 kB / 1.233 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009804/1.166, allocations: 0.7511 MB / 1.233 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.166, allocations: 0 / 1.233 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.584e-06/1.166, allocations: 0 / 1.233 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.219e-05/1.166, allocations: 0 / 1.233 GB, free: 5.562 MB / 0.9512 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.001805/1.168, allocations: 1.026 MB / 1.234 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/1.168, allocations: 8.031 kB / 1.234 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/1.168, allocations: 76.42 kB / 1.234 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/1.169, allocations: 0.6374 MB / 1.235 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/1.169, allocations: 16.25 kB / 1.235 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/1.169, allocations: 23.92 kB / 1.235 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/1.169, allocations: 190.7 kB / 1.235 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/1.169, allocations: 7.938 kB / 1.235 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/1.169, allocations: 7.984 kB / 1.235 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/1.169, allocations: 7.984 kB / 1.235 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/1.17, allocations: 95.88 kB / 1.235 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/1.171, allocations: 1.048 MB / 1.236 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/1.172, allocations: 273 kB / 1.237 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/1.172, allocations: 112.2 kB / 1.237 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/1.172, allocations: 11.98 kB / 1.237 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/1.173, allocations: 226.5 kB / 1.237 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/1.173, allocations: 0 / 1.237 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25): time 0.001014/1.174, allocations: 424.9 kB / 1.237 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/1.174, allocations: 170.1 kB / 1.238 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.175, allocations: 1.032 MB / 1.239 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/1.175, allocations: 37.69 kB / 1.239 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/1.175, allocations: 292.9 kB / 1.239 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/1.175, allocations: 71.53 kB / 1.239 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/1.176, allocations: 146.2 kB / 1.239 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.176, allocations: 322 kB / 1.239 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/1.176, allocations: 221.2 kB / 1.24 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/1.177, allocations: 303 kB / 1.24 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/1.177, allocations: 406.4 kB / 1.24 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.177, allocations: 0 / 1.24 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001161/1.179, allocations: 0.6798 MB / 1.241 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.179, allocations: 4 kB / 1.241 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.179, allocations: 4 kB / 1.241 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.179, allocations: 4 kB / 1.241 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/1.179, allocations: 115.8 kB / 1.241 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.179, allocations: 11.94 kB / 1.241 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/1.179, allocations: 45.17 kB / 1.241 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/1.179, allocations: 27.98 kB / 1.241 GB, free: 13.15 MB / 0.9669 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.000343/1.18, allocations: 274.2 kB / 1.241 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/1.18, allocations: 87.47 kB / 1.242 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/1.18, allocations: 69.88 kB / 1.242 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.18, allocations: 4 kB / 1.242 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.18, allocations: 3.938 kB / 1.242 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.18, allocations: 0 / 1.242 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/1.181, allocations: 469.2 kB / 1.242 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.181, allocations: 8 kB / 1.242 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/1.181, allocations: 27.86 kB / 1.242 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.181, allocations: 0 / 1.242 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/1.181, allocations: 11.98 kB / 1.242 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.181, allocations: 7.938 kB / 1.242 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.181, allocations: 3.938 kB / 1.242 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/1.181, allocations: 391.8 kB / 1.242 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/1.182, allocations: 164.6 kB / 1.243 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.257e-05/1.182, allocations: 11.98 kB / 1.243 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/1.182, allocations: 15.98 kB / 1.243 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/1.182, allocations: 23.91 kB / 1.243 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/1.182, allocations: 19.98 kB / 1.243 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007109/1.183, allocations: 0.6044 MB / 1.243 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.183, allocations: 0 / 1.243 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004282/1.183, allocations: 111.9 kB / 1.243 GB, free: 10.77 MB / 0.9669 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.001286/1.184, allocations: 491.5 kB / 1.244 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008263/1.185, allocations: 406.8 kB / 1.244 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/1.185, allocations: 4 kB / 1.244 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/1.186, allocations: 108.1 kB / 1.244 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009124/1.186, allocations: 228.1 kB / 1.245 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/1.188, allocations: 1.095 MB / 1.246 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/1.188, allocations: 0.9324 MB / 1.247 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002827/1.189, allocations: 112.9 kB / 1.247 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/1.189, allocations: 63.41 kB / 1.247 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/1.189, allocations: 0 / 1.247 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of Templates: time 0.01552/1.204, allocations: 7.811 MB / 1.254 GB, free: 15.75 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches