Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001244/0.001243, allocations: 175.2 kB / 326.5 MB, free: 2.254 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.136/2.136, allocations: 205.4 MB / 0.5775 GB, free: 20.5 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.001219/0.001219, allocations: 97.98 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003973, allocations: 10.62 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 106.3 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.4403, allocations: 131.4 MB / 1.028 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.4407, allocations: 67.91 kB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002482/0.4432, allocations: 0.837 MB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4433, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.4433, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 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.0005272/0.4438, allocations: 379.1 kB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.4439, allocations: 12.03 kB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.4439, allocations: 34.56 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.444, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.4441, allocations: 182.9 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4441, allocations: 3.938 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.4441, allocations: 4 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.4444, allocations: 77.66 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4444, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4444, allocations: 4 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4444, allocations: 0 / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.4448, allocations: 83.92 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.4453, allocations: 308.8 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.4455, allocations: 66.47 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.4456, allocations: 4 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.4456, allocations: 34.56 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.4456, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005537/0.4462, allocations: 157.7 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.4462, allocations: 59.34 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.4463, allocations: 105.2 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4463, allocations: 25.7 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.4464, allocations: 92.03 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.4464, allocations: 7.906 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.4464, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.4465, allocations: 318.8 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4467, allocations: 47.95 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.4468, allocations: 39.97 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.447, allocations: 39.97 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.447, allocations: 3.938 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003427/0.4473, allocations: 121.6 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.4474, allocations: 4 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4474, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4474, allocations: 4 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.4476, allocations: 23.92 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4476, allocations: 8.062 kB / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/0.4477, allocations: 19.92 kB / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.4477, allocations: 3.938 kB / 1.032 GB, free: 9.438 MB / 0.6823 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.432e-05/0.4478, allocations: 118.5 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.4478, allocations: 11.91 kB / 1.032 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.4479, allocations: 3.906 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4479, allocations: 0 / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4479, allocations: 0 / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4479, allocations: 0 / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.4481, allocations: 169.6 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4481, allocations: 0 / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4482, allocations: 23.97 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4482, allocations: 4 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4482, allocations: 8 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4483, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4483, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.4487, allocations: 219.4 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.4487, allocations: 85 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.4487, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4489, allocations: 19.98 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.4489, allocations: 8 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4489, allocations: 0 / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.449, allocations: 87.27 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.449, allocations: 0 / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002177/0.4492, allocations: 8 kB / 1.032 GB, free: 8.59 MB / 0.6823 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.0007288/0.4499, allocations: 0.7523 MB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.4503, allocations: 92.28 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4503, allocations: 4 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.4505, allocations: 39.97 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.4507, allocations: 11.98 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.4512, allocations: 170.1 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.4514, allocations: 0.6887 MB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.4515, allocations: 4.188 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.4515, allocations: 15.44 kB / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.4515, allocations: 0 / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.4637, allocations: 1.277 MB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/0.4641, allocations: 199.8 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.112, allocations: 0 / 1.035 GB, free: 5.359 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)