Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 249.5 MB / 257 MB, free: 6.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 180.8 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009168/0.0009168, allocations: 78.5 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.123e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2561, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7964/1.052, allocations: 135.3 MB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.053, allocations: 77.45 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06043/1.113, allocations: 22.5 MB / 1.039 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.833e-06/1.113, allocations: 0 / 1.039 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.784e-05/1.113, allocations: 16 kB / 1.039 GB, free: 15.57 MB / 0.6667 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.001058/1.114, allocations: 0.751 MB / 1.04 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.115, allocations: 12.03 kB / 1.04 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/1.115, allocations: 71.06 kB / 1.04 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/1.116, allocations: 0.6376 MB / 1.041 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/1.116, allocations: 8 kB / 1.041 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/1.116, allocations: 15.97 kB / 1.041 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002049/1.116, allocations: 91.47 kB / 1.041 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/1.116, allocations: 187.3 kB / 1.041 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.116, allocations: 4 kB / 1.041 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/1.116, allocations: 7.922 kB / 1.041 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/1.116, allocations: 7.938 kB / 1.041 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/1.118, allocations: 1.052 MB / 1.042 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/1.118, allocations: 250 kB / 1.042 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/1.118, allocations: 99.75 kB / 1.043 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/1.118, allocations: 7.984 kB / 1.043 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/1.118, allocations: 209.7 kB / 1.043 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/1.119, allocations: 0 / 1.043 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0005848/1.119, allocations: 325 kB / 1.043 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/1.119, allocations: 166.1 kB / 1.043 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.12, allocations: 0.8705 MB / 1.044 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/1.12, allocations: 32.77 kB / 1.044 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/1.12, allocations: 281.8 kB / 1.044 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/1.121, allocations: 68.72 kB / 1.044 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/1.121, allocations: 3.984 kB / 1.044 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.121, allocations: 390.4 kB / 1.045 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/1.121, allocations: 225.6 kB / 1.045 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/1.121, allocations: 321.6 kB / 1.045 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/1.122, allocations: 262.4 kB / 1.046 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.122, allocations: 0 / 1.046 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009425/1.123, allocations: 0.6855 MB / 1.046 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.123, allocations: 4 kB / 1.046 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.123, allocations: 4 kB / 1.046 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.123, allocations: 4 kB / 1.046 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/1.123, allocations: 114.9 kB / 1.046 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.123, allocations: 12.11 kB / 1.046 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/1.124, allocations: 35.67 kB / 1.046 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/1.124, allocations: 34.3 kB / 1.046 GB, free: 9.379 MB / 0.6667 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.0001403/1.124, allocations: 141.4 kB / 1.047 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/1.124, allocations: 67.16 kB / 1.047 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005687/1.124, allocations: 368.4 kB / 1.047 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.125, allocations: 4 kB / 1.047 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.125, allocations: 0 / 1.047 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.125, allocations: 7.953 kB / 1.047 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/1.125, allocations: 443 kB / 1.047 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.125, allocations: 0 / 1.047 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/1.125, allocations: 35.86 kB / 1.048 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.125, allocations: 4 kB / 1.048 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/1.125, allocations: 11.92 kB / 1.048 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.125, allocations: 0 / 1.048 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.125, allocations: 4 kB / 1.048 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/1.126, allocations: 437.9 kB / 1.048 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/1.126, allocations: 174.3 kB / 1.048 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/1.126, allocations: 11.31 kB / 1.048 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/1.126, allocations: 15.97 kB / 1.048 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/1.126, allocations: 23.41 kB / 1.048 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/1.126, allocations: 15.69 kB / 1.048 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006035/1.127, allocations: 0.5438 MB / 1.049 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.81e-07/1.127, allocations: 4 kB / 1.049 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004415/1.127, allocations: 119.9 kB / 1.049 GB, free: 7.266 MB / 0.6667 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.0009252/1.128, allocations: 409.6 kB / 1.049 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005288/1.129, allocations: 379.1 kB / 1.05 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.129, allocations: 0 / 1.05 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/1.129, allocations: 107.5 kB / 1.05 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008409/1.13, allocations: 192.1 kB / 1.05 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/1.131, allocations: 0.8583 MB / 1.051 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/1.132, allocations: 0.9519 MB / 1.052 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003095/1.132, allocations: 117.4 kB / 1.052 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/1.132, allocations: 54.73 kB / 1.052 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of SimCode: time 3.81e-07/1.132, allocations: 0 / 1.052 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of Templates: time 0.01342/1.146, allocations: 6.758 MB / 1.058 GB, free: 13.86 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches