Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 176.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009877, allocations: 105.5 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.884e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.313, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.467, allocations: 152.5 MB / 1.355 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/1.468, allocations: 75.53 kB / 1.355 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08461/1.552, allocations: 23.55 MB / 1.378 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/1.552, allocations: 0 / 1.378 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000157/1.553, allocations: 12.09 kB / 1.378 GB, free: 30.87 MB / 0.8386 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.002089/1.555, allocations: 0.7813 MB / 1.379 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.555, allocations: 7.719 kB / 1.379 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004453/1.555, allocations: 73.97 kB / 1.379 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/1.557, allocations: 0.6923 MB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/1.558, allocations: 10.44 kB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/1.558, allocations: 7.719 kB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002756/1.558, allocations: 89.14 kB / 1.38 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/1.558, allocations: 192.5 kB / 1.38 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.558, allocations: 0 / 1.38 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/1.558, allocations: 3.984 kB / 1.38 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/1.558, allocations: 3.844 kB / 1.38 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/1.56, allocations: 1.083 MB / 1.381 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/1.561, allocations: 248.8 kB / 1.381 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/1.561, allocations: 102 kB / 1.381 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/1.561, allocations: 7.203 kB / 1.381 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003827/1.561, allocations: 210.1 kB / 1.381 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 2.204e-06/1.561, allocations: 0 / 1.381 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.000849/1.562, allocations: 330.4 kB / 1.382 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/1.562, allocations: 169.5 kB / 1.382 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.564, allocations: 0.9051 MB / 1.383 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/1.564, allocations: 29.58 kB / 1.383 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/1.564, allocations: 291.8 kB / 1.383 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/1.564, allocations: 76.5 kB / 1.383 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/1.564, allocations: 4 kB / 1.383 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.565, allocations: 335.4 kB / 1.383 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/1.565, allocations: 227 kB / 1.384 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/1.565, allocations: 323.8 kB / 1.384 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009825/1.566, allocations: 311 kB / 1.384 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.566, allocations: 0 / 1.384 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001684/1.568, allocations: 0.7368 MB / 1.385 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.568, allocations: 3.938 kB / 1.385 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.568, allocations: 7.797 kB / 1.385 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/1.568, allocations: 3.875 kB / 1.385 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/1.569, allocations: 120.3 kB / 1.385 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/1.569, allocations: 7.812 kB / 1.385 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/1.569, allocations: 35.33 kB / 1.385 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/1.569, allocations: 38.52 kB / 1.385 GB, free: 27.12 MB / 0.8386 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 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001963/1.57, allocations: 137.5 kB / 1.385 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.57, allocations: 69.97 kB / 1.385 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007759/1.571, allocations: 363.4 kB / 1.386 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.571, allocations: 3.781 kB / 1.386 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.571, allocations: 11.8 kB / 1.386 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.571, allocations: 0 / 1.386 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/1.571, allocations: 456.3 kB / 1.386 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.571, allocations: 3.844 kB / 1.386 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/1.571, allocations: 23.36 kB / 1.386 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/1.571, allocations: 3.844 kB / 1.386 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/1.571, allocations: 7.922 kB / 1.386 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/1.571, allocations: 7.844 kB / 1.386 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.571, allocations: 0 / 1.386 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/1.572, allocations: 450 kB / 1.387 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/1.572, allocations: 171.1 kB / 1.387 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/1.572, allocations: 15.06 kB / 1.387 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/1.573, allocations: 15.78 kB / 1.387 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/1.573, allocations: 26.41 kB / 1.387 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/1.573, allocations: 14.22 kB / 1.387 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000874/1.574, allocations: 0.5727 MB / 1.387 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.3e-07/1.574, allocations: 0 / 1.387 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000734/1.574, allocations: 135 kB / 1.388 GB, free: 25.99 MB / 0.8386 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.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001301/1.576, allocations: 429.5 kB / 1.388 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007273/1.576, allocations: 380.8 kB / 1.388 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.576, allocations: 3.312 kB / 1.388 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/1.577, allocations: 106.4 kB / 1.388 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.578, allocations: 193.3 kB / 1.389 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/1.58, allocations: 0.8863 MB / 1.39 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/1.58, allocations: 0.9428 MB / 1.39 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004305/1.581, allocations: 121.7 kB / 1.391 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/1.581, allocations: 60.97 kB / 1.391 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of SimCode: time 1.002e-06/1.581, allocations: 0 / 1.391 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.01731/1.598, allocations: 7.019 MB / 1.397 GB, free: 20.96 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches