Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.185/2.185, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 179.5 kB / 326.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.4 MB / 0.5772 GB, free: 21.18 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.0009401/0.0009394, allocations: 87.98 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.000491, allocations: 15.16 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2155, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/0.4362, allocations: 131.2 MB / 1.028 GB, free: 14.61 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.4366, allocations: 71.95 kB / 1.028 GB, free: 14.54 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.003426/0.44, allocations: 0.8331 MB / 1.029 GB, free: 13.7 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4401, allocations: 0 / 1.029 GB, free: 13.7 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.4401, allocations: 4 kB / 1.029 GB, free: 13.7 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006252/0.4407, allocations: 371 kB / 1.029 GB, free: 13.29 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4408, allocations: 12.03 kB / 1.029 GB, free: 13.27 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.4408, allocations: 4.844 kB / 1.029 GB, free: 13.27 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.441, allocations: 172.3 kB / 1.029 GB, free: 13.06 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.441, allocations: 8.375 kB / 1.029 GB, free: 13.05 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.4411, allocations: 4.375 kB / 1.029 GB, free: 13.05 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.4415, allocations: 78.16 kB / 1.029 GB, free: 12.97 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4415, allocations: 192 / 1.029 GB, free: 12.97 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.4415, allocations: 7.938 kB / 1.029 GB, free: 12.96 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.4415, allocations: 4 kB / 1.029 GB, free: 12.96 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.4421, allocations: 83.92 kB / 1.029 GB, free: 12.88 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.4428, allocations: 308.8 kB / 1.03 GB, free: 12.52 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.4432, allocations: 70.47 kB / 1.03 GB, free: 12.45 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.4435, allocations: 56.91 kB / 1.03 GB, free: 12.39 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.4435, allocations: 3.938 kB / 1.03 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.4435, allocations: 30.56 kB / 1.03 GB, free: 12.34 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=3): time 2.375e-06/0.4435, allocations: 0 / 1.03 GB, free: 12.34 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3): time 0.0009128/0.4445, allocations: 161.5 kB / 1.03 GB, free: 12.18 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.4445, allocations: 55.41 kB / 1.03 GB, free: 12.11 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4446, allocations: 105.8 kB / 1.03 GB, free: 12 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.4447, allocations: 25.7 kB / 1.03 GB, free: 11.97 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.4447, allocations: 92.12 kB / 1.03 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.4448, allocations: 7.812 kB / 1.03 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.4448, allocations: 4 kB / 1.03 GB, free: 11.86 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4449, allocations: 314.8 kB / 1.03 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.4452, allocations: 43.95 kB / 1.03 GB, free: 11.5 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.4455, allocations: 43.97 kB / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.4458, allocations: 43.95 kB / 1.031 GB, free: 11.42 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4458, allocations: 3.938 kB / 1.031 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005883/0.4464, allocations: 117.6 kB / 1.031 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4464, allocations: 12 kB / 1.031 GB, free: 11.28 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4464, allocations: 0 / 1.031 GB, free: 11.28 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4465, allocations: 0 / 1.031 GB, free: 11.28 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4467, allocations: 23.98 kB / 1.031 GB, free: 11.26 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4467, allocations: 0 / 1.031 GB, free: 11.26 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.4469, allocations: 15.98 kB / 1.031 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.4469, allocations: 8.312 kB / 1.031 GB, free: 11.23 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001183/0.447, allocations: 117.8 kB / 1.031 GB, free: 11.11 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.4471, allocations: 3.906 kB / 1.031 GB, free: 11.11 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.4471, allocations: 8.234 kB / 1.031 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4471, allocations: 4 kB / 1.031 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4471, allocations: 0 / 1.031 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4472, allocations: 7.922 kB / 1.031 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.4474, allocations: 173.5 kB / 1.031 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4474, allocations: 3.984 kB / 1.031 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.4476, allocations: 23.98 kB / 1.031 GB, free: 10.83 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4476, allocations: 0 / 1.031 GB, free: 10.83 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4476, allocations: 0 / 1.031 GB, free: 10.83 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4476, allocations: 0 / 1.031 GB, free: 10.83 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4477, allocations: 0 / 1.031 GB, free: 10.83 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.4483, allocations: 219.4 kB / 1.031 GB, free: 10.6 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.4484, allocations: 85 kB / 1.031 GB, free: 10.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4484, allocations: 8 kB / 1.031 GB, free: 10.49 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.4486, allocations: 11.98 kB / 1.031 GB, free: 10.48 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.4487, allocations: 7.984 kB / 1.031 GB, free: 10.47 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4487, allocations: 0 / 1.031 GB, free: 10.47 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 6.586e-05/0.4488, allocations: 95.2 kB / 1.031 GB, free: 10.38 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4488, allocations: 0 / 1.031 GB, free: 10.38 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002668/0.449, allocations: 4 kB / 1.031 GB, free: 10.38 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001607/0.4492, allocations: 103.2 kB / 1.032 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0005902/0.4498, allocations: 91.86 kB / 1.032 GB, free: 10.18 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4498, allocations: 0 / 1.032 GB, free: 10.18 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.4501, allocations: 51.95 kB / 1.032 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.4505, allocations: 15.88 kB / 1.032 GB, free: 10.11 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.4509, allocations: 132.6 kB / 1.032 GB, free: 9.953 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.4513, allocations: 0.6848 MB / 1.032 GB, free: 9.242 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 5.193e-05/0.4513, allocations: 4 kB / 1.032 GB, free: 9.238 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.4514, allocations: 15.38 kB / 1.033 GB, free: 9.223 MB / 0.6824 GB Notification: Performance of SimCode: time 9.42e-07/0.4514, allocations: 0 / 1.033 GB, free: 9.223 MB / 0.6824 GB Notification: Performance of Templates: time 0.0032/0.4546, allocations: 0.5185 MB / 1.033 GB, free: 8.707 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)