Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 185 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 0.6366 GB, free: 8.488 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008364/0.0008364, allocations: 93.42 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003328, allocations: 8 kB / 0.8749 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2514, allocations: 116.3 MB / 0.9884 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6901/0.9416, allocations: 142.5 MB / 1.128 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.9419, allocations: 82.39 kB / 1.128 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08851/1.03, allocations: 23.19 MB / 1.15 GB, free: 16.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/1.03, allocations: 0 / 1.15 GB, free: 16.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.574e-05/1.031, allocations: 16 kB / 1.15 GB, free: 16.9 MB / 0.7292 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.001751/1.032, allocations: 0.9571 MB / 1.151 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.032, allocations: 12.02 kB / 1.151 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.762e-05/1.032, allocations: 50.48 kB / 1.151 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/1.033, allocations: 77.12 kB / 1.151 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/1.035, allocations: 0.6943 MB / 1.152 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/1.035, allocations: 15.88 kB / 1.152 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/1.035, allocations: 9.406 kB / 1.152 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/1.035, allocations: 205.8 kB / 1.152 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.035, allocations: 0 / 1.152 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/1.035, allocations: 8 kB / 1.152 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/1.035, allocations: 8 kB / 1.152 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/1.036, allocations: 114.3 kB / 1.152 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/1.037, allocations: 1.11 MB / 1.153 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007732/1.038, allocations: 297.3 kB / 1.154 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/1.038, allocations: 8 kB / 1.154 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000486/1.039, allocations: 227.5 kB / 1.154 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/1.039, allocations: 4 kB / 1.154 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.00128/1.04, allocations: 442.3 kB / 1.154 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/1.04, allocations: 162.2 kB / 1.155 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/1.042, allocations: 0.9608 MB / 1.156 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/1.042, allocations: 37.7 kB / 1.156 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/1.042, allocations: 281.4 kB / 1.156 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/1.042, allocations: 79.08 kB / 1.156 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/1.042, allocations: 16 kB / 1.156 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/1.042, allocations: 330 kB / 1.156 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/1.043, allocations: 257.2 kB / 1.156 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/1.043, allocations: 347.7 kB / 1.157 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/1.044, allocations: 290.9 kB / 1.157 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.044, allocations: 4 kB / 1.157 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001869/1.046, allocations: 0.7619 MB / 1.158 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/1.046, allocations: 4.625 kB / 1.158 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.046, allocations: 7.984 kB / 1.158 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/1.046, allocations: 4 kB / 1.158 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/1.047, allocations: 115.8 kB / 1.158 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/1.047, allocations: 8.547 kB / 1.158 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/1.047, allocations: 47.98 kB / 1.158 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.048, allocations: 35.98 kB / 1.158 GB, free: 8.637 MB / 0.7292 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.0004997/1.048, allocations: 275.5 kB / 1.158 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/1.048, allocations: 75.06 kB / 1.158 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/1.049, allocations: 403.5 kB / 1.159 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.049, allocations: 8.844 kB / 1.159 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.049, allocations: 3.953 kB / 1.159 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/1.049, allocations: 0 / 1.159 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006158/1.05, allocations: 497.1 kB / 1.159 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.05, allocations: 0 / 1.159 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/1.05, allocations: 27.98 kB / 1.159 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/1.05, allocations: 4 kB / 1.159 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/1.05, allocations: 9.75 kB / 1.159 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.05, allocations: 3.938 kB / 1.159 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.05, allocations: 5.219 kB / 1.159 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009087/1.051, allocations: 474.5 kB / 1.16 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/1.051, allocations: 180.1 kB / 1.16 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.052, allocations: 8 kB / 1.16 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/1.052, allocations: 19.98 kB / 1.16 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/1.052, allocations: 27.91 kB / 1.16 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/1.052, allocations: 17.8 kB / 1.16 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009836/1.053, allocations: 0.62 MB / 1.161 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/1.053, allocations: 0 / 1.161 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006437/1.054, allocations: 147.9 kB / 1.161 GB, free: 5.754 MB / 0.7292 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.002638/1.056, allocations: 1.689 MB / 1.162 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001176/1.057, allocations: 428.6 kB / 1.163 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.057, allocations: 320 / 1.163 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/1.058, allocations: 128.7 kB / 1.163 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/1.059, allocations: 193.8 kB / 1.163 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/1.062, allocations: 3.051 MB / 1.166 GB, free: 312 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/1.063, allocations: 0.9405 MB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000526/1.064, allocations: 129.2 kB / 1.167 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/1.064, allocations: 231.3 kB / 1.167 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of SimCode: time 2.966e-06/1.064, allocations: 4 kB / 1.167 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04016/1.104, allocations: 13.84 MB / 1.181 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.105, allocations: 227.6 kB / 1.181 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.531, allocations: 3.938 kB / 1.181 GB, free: 1.07 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)