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.678/1.678, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001064/0.001064, allocations: 176.9 kB / 366.7 MB, free: 1.641 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.787/1.787, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009415/0.0009417, allocations: 89.67 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.598e-05, allocations: 8 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7883, allocations: 116.3 MB / 0.9734 GB, free: 76.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/1.015, allocations: 141.7 MB / 1.112 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.015, allocations: 76.77 kB / 1.112 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05993/1.075, allocations: 22.94 MB / 1.134 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.092e-06/1.075, allocations: 0 / 1.134 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.59e-05/1.075, allocations: 16 kB / 1.134 GB, free: 1.523 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.001301/1.076, allocations: 0.7668 MB / 1.135 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.076, allocations: 10.56 kB / 1.135 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/1.077, allocations: 79.05 kB / 1.135 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/1.078, allocations: 0.6909 MB / 1.136 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/1.078, allocations: 7.938 kB / 1.136 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/1.078, allocations: 11.94 kB / 1.136 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002079/1.078, allocations: 95.89 kB / 1.136 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/1.079, allocations: 183.8 kB / 1.136 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/1.079, allocations: 0 / 1.136 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/1.079, allocations: 7.938 kB / 1.136 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.079, allocations: 4 kB / 1.136 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/1.08, allocations: 1.094 MB / 1.137 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/1.081, allocations: 249.5 kB / 1.137 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/1.081, allocations: 96.36 kB / 1.137 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/1.081, allocations: 0 / 1.137 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/1.081, allocations: 215.5 kB / 1.138 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/1.081, allocations: 0 / 1.138 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0006084/1.082, allocations: 328.5 kB / 1.138 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/1.082, allocations: 162.2 kB / 1.138 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/1.083, allocations: 0.9063 MB / 1.139 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/1.083, allocations: 29.7 kB / 1.139 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/1.083, allocations: 293.1 kB / 1.139 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/1.083, allocations: 75.14 kB / 1.139 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/1.083, allocations: 0 / 1.139 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.084, allocations: 326 kB / 1.14 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/1.084, allocations: 237.5 kB / 1.14 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/1.084, allocations: 322.7 kB / 1.14 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/1.085, allocations: 305.4 kB / 1.141 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.085, allocations: 4 kB / 1.141 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00139/1.087, allocations: 0.7389 MB / 1.141 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.087, allocations: 12.78 kB / 1.141 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.087, allocations: 0 / 1.141 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.087, allocations: 4 kB / 1.141 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/1.087, allocations: 122.8 kB / 1.141 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.087, allocations: 7.672 kB / 1.141 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/1.087, allocations: 39.62 kB / 1.141 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/1.087, allocations: 35.98 kB / 1.141 GB, free: 9.797 MB / 0.7448 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.0001449/1.088, allocations: 134.1 kB / 1.142 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004747/1.088, allocations: 325.7 kB / 1.142 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.088, allocations: 71.06 kB / 1.142 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/1.089, allocations: 369.9 kB / 1.142 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.089, allocations: 11.94 kB / 1.142 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-06/1.089, allocations: 4 kB / 1.142 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.089, allocations: 3.984 kB / 1.142 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/1.089, allocations: 450.7 kB / 1.143 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.089, allocations: 0 / 1.143 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.74e-05/1.089, allocations: 31.94 kB / 1.143 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.089, allocations: 4 kB / 1.143 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/1.09, allocations: 8.734 kB / 1.143 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.09, allocations: 0 / 1.143 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.09, allocations: 4 kB / 1.143 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/1.09, allocations: 444 kB / 1.143 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/1.09, allocations: 176.1 kB / 1.143 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/1.09, allocations: 8 kB / 1.143 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/1.091, allocations: 21.11 kB / 1.143 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/1.091, allocations: 23.97 kB / 1.143 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/1.091, allocations: 11.98 kB / 1.143 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006907/1.091, allocations: 0.5772 MB / 1.144 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.092, allocations: 0 / 1.144 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004791/1.092, allocations: 127.9 kB / 1.144 GB, free: 6.91 MB / 0.7448 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.001873/1.094, allocations: 1.578 MB / 1.146 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005425/1.094, allocations: 380.2 kB / 1.146 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.094, allocations: 0 / 1.146 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/1.095, allocations: 107.9 kB / 1.146 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008771/1.096, allocations: 185.8 kB / 1.146 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/1.097, allocations: 1.051 MB / 1.147 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/1.098, allocations: 0.9449 MB / 1.148 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002918/1.098, allocations: 122.5 kB / 1.148 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/1.098, allocations: 231.3 kB / 1.149 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/1.098, allocations: 4 kB / 1.149 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/1.135, allocations: 12.97 MB / 1.161 GB, free: 5.539 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/1.135, allocations: 187.8 kB / 1.162 GB, free: 5.344 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.498, allocations: 0 / 1.162 GB, free: 5.344 MB / 0.7605 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)