Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Validation.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.653/1.653, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001095/0.001095, allocations: 165.2 kB / 377.1 MB, free: 1.508 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.638/1.638, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0009039/0.0009036, allocations: 92.92 kB / 0.7509 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003405, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2581, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7539/1.012, allocations: 138.5 MB / 1.124 GB, free: 35.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/1.012, allocations: 66.89 kB / 1.124 GB, free: 35.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002035/1.014, allocations: 0.8032 MB / 1.125 GB, free: 35.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.364e-06/1.014, allocations: 0 / 1.125 GB, free: 35.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.014, allocations: 0 / 1.125 GB, free: 35.26 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004371/1.015, allocations: 371.7 kB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.015, allocations: 16.02 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/1.015, allocations: 37.94 kB / 1.125 GB, free: 34.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/1.015, allocations: 3.062 kB / 1.125 GB, free: 34.81 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/1.015, allocations: 170.9 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.015, allocations: 0 / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/1.015, allocations: 9.406 kB / 1.125 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/1.015, allocations: 84.27 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.015, allocations: 0 / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/1.015, allocations: 0 / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.016, allocations: 4 kB / 1.125 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/1.016, allocations: 82.52 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/1.016, allocations: 303.1 kB / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/1.016, allocations: 75.33 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/1.016, allocations: 3.516 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/1.017, allocations: 31.22 kB / 1.126 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.017, allocations: 0 / 1.126 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005298/1.017, allocations: 162.7 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/1.017, allocations: 55.41 kB / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/1.017, allocations: 100.5 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/1.017, allocations: 25.7 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/1.017, allocations: 87.61 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/1.017, allocations: 4.469 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/1.017, allocations: 4 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/1.017, allocations: 323.3 kB / 1.126 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/1.017, allocations: 46.31 kB / 1.126 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/1.018, allocations: 41.98 kB / 1.126 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.018, allocations: 42.08 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.018, allocations: 0.6562 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003096/1.018, allocations: 127 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.018, allocations: 4 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/1.018, allocations: 0.5625 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.018, allocations: 4 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/1.018, allocations: 19.56 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.018, allocations: 3.469 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/1.018, allocations: 16.08 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/1.018, allocations: 5.281 kB / 1.127 GB, free: 33.03 MB / 0.7292 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 7.88e-05/1.018, allocations: 125.7 kB / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/1.019, allocations: 4 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/1.019, allocations: 12.03 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/1.019, allocations: 0 / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.019, allocations: 0 / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.019, allocations: 1.188 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/1.019, allocations: 168.5 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.019, allocations: 0 / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/1.019, allocations: 26.66 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.019, allocations: 1.312 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/1.019, allocations: 4 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.019, allocations: 4.75 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.019, allocations: 0 / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/1.019, allocations: 217.3 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/1.019, allocations: 81.19 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/1.019, allocations: 0 / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/1.019, allocations: 23.52 kB / 1.127 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/1.019, allocations: 11.45 kB / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/1.019, allocations: 0 / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.276e-05/1.019, allocations: 88.33 kB / 1.127 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.019, allocations: 0 / 1.127 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002003/1.02, allocations: 8 kB / 1.127 GB, free: 32.23 MB / 0.7292 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.0005349/1.02, allocations: 0.7524 MB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003213/1.021, allocations: 95.16 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.021, allocations: 0 / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/1.021, allocations: 50.97 kB / 1.128 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/1.021, allocations: 8.938 kB / 1.128 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/1.021, allocations: 158.2 kB / 1.128 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/1.021, allocations: 0.6877 MB / 1.129 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.644e-05/1.022, allocations: 4 kB / 1.129 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/1.022, allocations: 14.81 kB / 1.129 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.022, allocations: 0 / 1.129 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/1.034, allocations: 1.281 MB / 1.13 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.034, allocations: 180.6 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.56, allocations: 3.938 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)