Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.721/2.721, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001493/0.001493, allocations: 188.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001157/0.001157, allocations: 93.64 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.838e-05/2.862e-05, allocations: 8 kB / 0.8509 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/0.85, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.255/1.105, allocations: 140.6 MB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.105, allocations: 79.95 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.106/1.211, allocations: 22.93 MB / 1.123 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.211, allocations: 0 / 1.123 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001051/1.212, allocations: 16 kB / 1.123 GB, free: 8.965 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.002156/1.214, allocations: 0.7721 MB / 1.124 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.214, allocations: 11.97 kB / 1.124 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/1.214, allocations: 75.06 kB / 1.124 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/1.217, allocations: 0.6905 MB / 1.125 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/1.217, allocations: 8 kB / 1.125 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/1.217, allocations: 11.94 kB / 1.125 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003377/1.218, allocations: 91.95 kB / 1.125 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/1.218, allocations: 186.3 kB / 1.125 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.218, allocations: 0 / 1.125 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/1.218, allocations: 11.94 kB / 1.125 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/1.218, allocations: 7.984 kB / 1.125 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/1.221, allocations: 1.083 MB / 1.126 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/1.222, allocations: 249.5 kB / 1.126 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/1.222, allocations: 92.38 kB / 1.126 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/1.222, allocations: 15.97 kB / 1.126 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005108/1.222, allocations: 207.5 kB / 1.127 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 3.467e-06/1.222, allocations: 0 / 1.127 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.001241/1.224, allocations: 330.6 kB / 1.127 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/1.224, allocations: 162.2 kB / 1.127 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/1.227, allocations: 0.9102 MB / 1.128 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.227, allocations: 25.7 kB / 1.128 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/1.227, allocations: 293.1 kB / 1.128 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/1.227, allocations: 71.16 kB / 1.128 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/1.228, allocations: 0 / 1.128 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.228, allocations: 330 kB / 1.129 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/1.228, allocations: 233.5 kB / 1.129 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/1.23, allocations: 322.7 kB / 1.129 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/1.231, allocations: 312.5 kB / 1.13 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.231, allocations: 0 / 1.13 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0035/1.235, allocations: 0.7385 MB / 1.13 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/1.235, allocations: 8 kB / 1.13 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.235, allocations: 0 / 1.13 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.154e-05/1.235, allocations: 8 kB / 1.13 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.236, allocations: 116.8 kB / 1.13 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-05/1.236, allocations: 9.359 kB / 1.13 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.238, allocations: 35.67 kB / 1.13 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003666/1.238, allocations: 35.98 kB / 1.13 GB, free: 1.238 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 () * 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.0003911/1.239, allocations: 140.1 kB / 1.131 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001699/1.24, allocations: 324.8 kB / 1.131 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/1.241, allocations: 75.06 kB / 1.131 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/1.243, allocations: 365.9 kB / 1.131 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/1.243, allocations: 11.98 kB / 1.131 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/1.243, allocations: 3.984 kB / 1.131 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/1.243, allocations: 7.938 kB / 1.131 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/1.244, allocations: 453.8 kB / 1.132 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/1.244, allocations: 4 kB / 1.132 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/1.245, allocations: 23.94 kB / 1.132 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/1.245, allocations: 4 kB / 1.132 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.216e-05/1.245, allocations: 7.984 kB / 1.132 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/1.245, allocations: 8.141 kB / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.245, allocations: 3.953 kB / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/1.247, allocations: 440.1 kB / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/1.247, allocations: 176.1 kB / 1.132 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/1.248, allocations: 10 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/1.248, allocations: 19.98 kB / 1.132 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.248, allocations: 23.97 kB / 1.132 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/1.248, allocations: 15.98 kB / 1.132 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002303/1.251, allocations: 0.5733 MB / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.82e-07/1.251, allocations: 0 / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001077/1.252, allocations: 131.9 kB / 1.133 GB, free: 14.34 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.002712/1.255, allocations: 1.569 MB / 1.135 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001122/1.256, allocations: 383.8 kB / 1.135 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.256, allocations: 0 / 1.135 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/1.256, allocations: 111.8 kB / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.258, allocations: 187.2 kB / 1.135 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/1.261, allocations: 1.035 MB / 1.136 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/1.262, allocations: 0.944 MB / 1.137 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007371/1.263, allocations: 123.2 kB / 1.137 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005698/1.263, allocations: 231.3 kB / 1.138 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of SimCode: time 1.332e-06/1.263, allocations: 0 / 1.138 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/1.333, allocations: 12.97 MB / 1.15 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/1.334, allocations: 194.1 kB / 1.15 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.088/4.421, allocations: 0 / 1.15 GB, free: 12.91 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)