Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.557/2.557, allocations: 287.5 MB / 303.2 MB, free: 8.23 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.001326/0.001326, allocations: 186.2 kB / 371.8 MB, free: 10.82 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.121/2.121, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 91.42 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006672/0.0006674, allocations: 16.66 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2033, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9775/1.181, allocations: 137.4 MB / 1.113 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.181, allocations: 76.08 kB / 1.114 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003457/1.185, allocations: 0.8021 MB / 1.114 GB, free: 31.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.185, allocations: 0 / 1.114 GB, free: 31.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.296e-06/1.185, allocations: 0 / 1.114 GB, free: 31.38 MB / 0.698 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.0005941/1.185, allocations: 376.5 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.185, allocations: 7.594 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/1.185, allocations: 4.781 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/1.186, allocations: 173.6 kB / 1.115 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/1.186, allocations: 4.281 kB / 1.115 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/1.186, allocations: 4 kB / 1.115 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/1.186, allocations: 86.86 kB / 1.115 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.186, allocations: 192 / 1.115 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.186, allocations: 3.938 kB / 1.115 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.186, allocations: 0 / 1.115 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/1.187, allocations: 84.55 kB / 1.115 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/1.187, allocations: 302.1 kB / 1.115 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/1.188, allocations: 71.33 kB / 1.115 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/1.188, allocations: 55.94 kB / 1.115 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/1.188, allocations: 1.266 kB / 1.115 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/1.188, allocations: 34.56 kB / 1.115 GB, free: 30.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/1.188, allocations: 0 / 1.115 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0008892/1.189, allocations: 159.3 kB / 1.116 GB, free: 30.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/1.189, allocations: 51.41 kB / 1.116 GB, free: 30.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/1.189, allocations: 122.2 kB / 1.116 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/1.189, allocations: 25.7 kB / 1.116 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/1.189, allocations: 85.05 kB / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/1.189, allocations: 7.719 kB / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.189, allocations: 0 / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.189, allocations: 320.9 kB / 1.116 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/1.189, allocations: 44.17 kB / 1.116 GB, free: 29.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/1.19, allocations: 39.12 kB / 1.116 GB, free: 29.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/1.19, allocations: 91.64 kB / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.19, allocations: 3.938 kB / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005553/1.191, allocations: 126.6 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.191, allocations: 7.844 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.191, allocations: 0 / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.191, allocations: 336 / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/1.191, allocations: 21.53 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/1.191, allocations: 4.812 kB / 1.117 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/1.191, allocations: 16.17 kB / 1.117 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/1.191, allocations: 7.844 kB / 1.117 GB, free: 29.7 MB / 0.698 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 9.397e-05/1.191, allocations: 117 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/1.191, allocations: 5.156 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/1.191, allocations: 11.52 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/1.191, allocations: 1.594 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.191, allocations: 0 / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.191, allocations: 0 / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/1.192, allocations: 177.6 kB / 1.117 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.192, allocations: 0 / 1.117 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/1.192, allocations: 32.27 kB / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.192, allocations: 3.875 kB / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/1.192, allocations: 0 / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.192, allocations: 0 / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.192, allocations: 0 / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/1.193, allocations: 220 kB / 1.117 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/1.193, allocations: 82.33 kB / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/1.193, allocations: 0 / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/1.193, allocations: 16.27 kB / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/1.193, allocations: 6.266 kB / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/1.193, allocations: 0 / 1.117 GB, free: 29.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.555e-05/1.193, allocations: 89.8 kB / 1.117 GB, free: 29.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.193, allocations: 0 / 1.117 GB, free: 29.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002837/1.193, allocations: 11.25 kB / 1.117 GB, free: 29.05 MB / 0.698 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.0001309/1.193, allocations: 104.3 kB / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005594/1.194, allocations: 86.78 kB / 1.117 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.194, allocations: 0 / 1.117 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/1.194, allocations: 52.41 kB / 1.118 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/1.195, allocations: 12.42 kB / 1.118 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/1.195, allocations: 128.1 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.195, allocations: 0.6822 MB / 1.118 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.845e-05/1.195, allocations: 7.844 kB / 1.118 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/1.196, allocations: 7.438 kB / 1.118 GB, free: 28.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.196, allocations: 0 / 1.118 GB, free: 28.11 MB / 0.698 GB Notification: Performance of Templates: time 0.003032/1.199, allocations: 0.5298 MB / 1.119 GB, free: 28.06 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)