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.477/2.477, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001162/0.001162, allocations: 177 kB / 498.1 MB, free: 5.77 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.425/1.425, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009911/0.0009908, allocations: 92.27 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 9.375 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.282, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.4789, allocations: 153.2 MB / 1.373 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.4792, allocations: 75.95 kB / 1.373 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06194/0.5412, allocations: 23.8 MB / 1.396 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5412, allocations: 0 / 1.396 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.688e-05/0.5413, allocations: 8 kB / 1.396 GB, free: 0.9648 MB / 0.8855 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.001719/0.543, allocations: 0.9686 MB / 1.397 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5431, allocations: 12.03 kB / 1.397 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.5432, allocations: 75.02 kB / 1.397 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.5446, allocations: 0.6981 MB / 1.398 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.5446, allocations: 4 kB / 1.398 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.5447, allocations: 19.98 kB / 1.398 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.5451, allocations: 205.8 kB / 1.398 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5451, allocations: 0 / 1.398 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.5452, allocations: 4 kB / 1.398 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5452, allocations: 4 kB / 1.398 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.5454, allocations: 115.8 kB / 1.398 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.547, allocations: 1.114 MB / 1.399 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.5476, allocations: 289.3 kB / 1.399 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.5476, allocations: 7.984 kB / 1.399 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004634/0.5481, allocations: 237 kB / 1.399 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.5481, allocations: 0 / 1.399 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.00101/0.5491, allocations: 441.6 kB / 1.4 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.5492, allocations: 162.2 kB / 1.4 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.5506, allocations: 0.957 MB / 1.401 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.5506, allocations: 33.7 kB / 1.401 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.5509, allocations: 292.8 kB / 1.401 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.5509, allocations: 75.08 kB / 1.401 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.551, allocations: 16 kB / 1.401 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5511, allocations: 326 kB / 1.402 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.5516, allocations: 253.2 kB / 1.402 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.5521, allocations: 354.9 kB / 1.402 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.5526, allocations: 287.3 kB / 1.403 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5526, allocations: 0 / 1.403 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001349/0.5539, allocations: 0.7618 MB / 1.403 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.554, allocations: 11.95 kB / 1.403 GB, free: 8.957 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.554, allocations: 4.062 kB / 1.403 GB, free: 8.953 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.554, allocations: 8.156 kB / 1.403 GB, free: 8.945 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.5544, allocations: 119.8 kB / 1.403 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.5545, allocations: 11.88 kB / 1.403 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.5548, allocations: 43.77 kB / 1.403 GB, free: 8.773 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.5549, allocations: 35.98 kB / 1.404 GB, free: 8.738 MB / 0.9011 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003354/0.5552, allocations: 273.4 kB / 1.404 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5553, allocations: 75.06 kB / 1.404 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007661/0.5561, allocations: 407.1 kB / 1.404 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.5561, allocations: 4 kB / 1.404 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5561, allocations: 4.312 kB / 1.404 GB, free: 7.969 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5561, allocations: 3.984 kB / 1.404 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.5566, allocations: 493.1 kB / 1.405 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5567, allocations: 0 / 1.405 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.5568, allocations: 31.92 kB / 1.405 GB, free: 7.402 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5568, allocations: 4 kB / 1.405 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.5569, allocations: 11.98 kB / 1.405 GB, free: 7.387 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.5569, allocations: 7.953 kB / 1.405 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5569, allocations: 0 / 1.405 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.5576, allocations: 483.3 kB / 1.405 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.5578, allocations: 172.1 kB / 1.405 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.5579, allocations: 8 kB / 1.405 GB, free: 6.656 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.5581, allocations: 27.97 kB / 1.405 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.5582, allocations: 23.97 kB / 1.405 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.5582, allocations: 8 kB / 1.405 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000756/0.559, allocations: 0.6278 MB / 1.406 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.559, allocations: 0 / 1.406 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005222/0.5595, allocations: 139.9 kB / 1.406 GB, free: 5.84 MB / 0.9011 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) * Number of clocked states: 0 () * 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.00121/0.5607, allocations: 0.5043 MB / 1.407 GB, free: 5.516 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007518/0.5615, allocations: 426.6 kB / 1.407 GB, free: 5.102 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5615, allocations: 8.125 kB / 1.407 GB, free: 5.094 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.5618, allocations: 123.9 kB / 1.407 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008055/0.5626, allocations: 185 kB / 1.407 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.5644, allocations: 1.249 MB / 1.409 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.565, allocations: 0.9483 MB / 1.41 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000312/0.5653, allocations: 121.6 kB / 1.41 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.5655, allocations: 55.42 kB / 1.41 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of SimCode: time 2.2e-07/0.5655, allocations: 0 / 1.41 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of Templates: time 0.01396/0.5794, allocations: 7.674 MB / 1.417 GB, free: 10.74 MB / 0.9167 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