Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 2.182/2.182, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001087/0.001088, allocations: 176.9 kB / 361.4 MB, free: 6.812 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.413/2.413, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.001203/0.001204, allocations: 91.55 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.623e-05, allocations: 8 kB / 0.8519 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8967/0.8968, allocations: 115.3 MB / 0.9645 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/1.122, allocations: 140.8 MB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/1.123, allocations: 75.95 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07452/1.197, allocations: 22.92 MB / 1.124 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.244e-06/1.197, allocations: 0 / 1.124 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001767/1.197, allocations: 16 kB / 1.124 GB, free: 8.184 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.002822/1.2, allocations: 0.7816 MB / 1.125 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.791e-05/1.2, allocations: 12.03 kB / 1.125 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/1.201, allocations: 72.09 kB / 1.125 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003408/1.205, allocations: 0.6944 MB / 1.126 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/1.205, allocations: 8 kB / 1.126 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/1.205, allocations: 11.94 kB / 1.126 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004167/1.205, allocations: 92.83 kB / 1.126 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/1.206, allocations: 185.9 kB / 1.126 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.206, allocations: 3.984 kB / 1.126 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/1.206, allocations: 4 kB / 1.126 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/1.206, allocations: 8 kB / 1.126 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/1.209, allocations: 1.079 MB / 1.127 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/1.21, allocations: 249.5 kB / 1.128 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/1.21, allocations: 96.31 kB / 1.128 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/1.21, allocations: 4 kB / 1.128 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006184/1.211, allocations: 213.3 kB / 1.128 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 5.661e-06/1.211, allocations: 4 kB / 1.128 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.001397/1.212, allocations: 322 kB / 1.128 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/1.213, allocations: 174.1 kB / 1.128 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/1.216, allocations: 0.9063 MB / 1.129 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/1.216, allocations: 29.7 kB / 1.129 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/1.216, allocations: 289.1 kB / 1.129 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/1.216, allocations: 75.12 kB / 1.13 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/1.216, allocations: 0 / 1.13 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002364/1.217, allocations: 334 kB / 1.13 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007157/1.217, allocations: 229.5 kB / 1.13 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008747/1.218, allocations: 326.7 kB / 1.13 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/1.22, allocations: 307.7 kB / 1.131 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.22, allocations: 0 / 1.131 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002845/1.223, allocations: 0.7337 MB / 1.131 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/1.223, allocations: 7.984 kB / 1.131 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.223, allocations: 4 kB / 1.131 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.223, allocations: 5.031 kB / 1.131 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007657/1.224, allocations: 115.8 kB / 1.132 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/1.224, allocations: 7.938 kB / 1.132 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/1.225, allocations: 39.62 kB / 1.132 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.225, allocations: 39.98 kB / 1.132 GB, free: 460 kB / 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.0002399/1.225, allocations: 132.8 kB / 1.132 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009869/1.226, allocations: 326.8 kB / 1.132 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.226, allocations: 79.05 kB / 1.132 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/1.227, allocations: 363.2 kB / 1.133 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.227, allocations: 11.89 kB / 1.133 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.227, allocations: 0 / 1.133 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/1.227, allocations: 10.8 kB / 1.133 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008692/1.228, allocations: 453.7 kB / 1.133 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.228, allocations: 0 / 1.133 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/1.229, allocations: 31.92 kB / 1.133 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/1.229, allocations: 0 / 1.133 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/1.229, allocations: 7.984 kB / 1.133 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/1.229, allocations: 4 kB / 1.133 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.229, allocations: 0 / 1.133 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.23, allocations: 448.5 kB / 1.133 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/1.23, allocations: 176.1 kB / 1.134 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/1.23, allocations: 11.98 kB / 1.134 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/1.231, allocations: 15.98 kB / 1.134 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.231, allocations: 23.97 kB / 1.134 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/1.231, allocations: 22.98 kB / 1.134 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001247/1.232, allocations: 0.5655 MB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.232, allocations: 0 / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001021/1.233, allocations: 135.9 kB / 1.134 GB, free: 13.55 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.003085/1.236, allocations: 1.571 MB / 1.136 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001242/1.238, allocations: 383.7 kB / 1.136 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.238, allocations: 0 / 1.136 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/1.238, allocations: 111.9 kB / 1.136 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/1.24, allocations: 182.8 kB / 1.137 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/1.244, allocations: 1.047 MB / 1.138 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/1.245, allocations: 0.948 MB / 1.138 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007218/1.245, allocations: 122.2 kB / 1.139 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/1.246, allocations: 231.3 kB / 1.139 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of SimCode: time 1.873e-06/1.246, allocations: 0 / 1.139 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05801/1.304, allocations: 12.97 MB / 1.151 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004505/1.305, allocations: 206.7 kB / 1.152 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.058/4.363, allocations: 0 / 1.152 GB, free: 11.97 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)