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.395/1.395, allocations: 249.5 MB / 257 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 172.9 kB / 316.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0007777/0.0007777, allocations: 99.38 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.331e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2061, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7651/0.9712, allocations: 131.6 MB / 1.014 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.9715, allocations: 71.61 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002296/0.9738, allocations: 0.8301 MB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.674e-06/0.9739, allocations: 0 / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9739, allocations: 4 kB / 1.015 GB, free: 5.047 MB / 0.6355 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.0004874/0.9744, allocations: 367.4 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.9744, allocations: 12.03 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.9745, allocations: 3.906 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.9746, allocations: 175 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.9746, allocations: 0 / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.9747, allocations: 4 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.266e-05/0.9748, allocations: 15.12 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.9748, allocations: 41.38 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.9749, allocations: 0.75 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.9749, allocations: 0 / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.9749, allocations: 4 kB / 1.015 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.9754, allocations: 288.5 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.9755, allocations: 30.45 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.9756, allocations: 16.3 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.9756, allocations: 0 / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.9756, allocations: 34.66 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.475e-06/0.9756, allocations: 3.938 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001656/0.9758, allocations: 56.02 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.9759, allocations: 51.41 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.976, allocations: 104.9 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.976, allocations: 25.7 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.976, allocations: 84.08 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.976, allocations: 7.906 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.9761, allocations: 0 / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.9762, allocations: 322.5 kB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.9762, allocations: 7.938 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.9763, allocations: 11.62 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/0.9763, allocations: 7.938 kB / 1.016 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.9763, allocations: 4 kB / 1.016 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.224e-05/0.9764, allocations: 49.28 kB / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.9764, allocations: 4 kB / 1.016 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9764, allocations: 192 / 1.016 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.9764, allocations: 4 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.9766, allocations: 15.98 kB / 1.016 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.9766, allocations: 3.938 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-05/0.9767, allocations: 23.97 kB / 1.016 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.9767, allocations: 4 kB / 1.016 GB, free: 3.176 MB / 0.6355 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 () * 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 8.757e-05/0.9768, allocations: 104.9 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.573e-05/0.9769, allocations: 49.38 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.9769, allocations: 7.906 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.977, allocations: 8.094 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.977, allocations: 0 / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.977, allocations: 7.938 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.977, allocations: 7.984 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.9771, allocations: 141.9 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9772, allocations: 0 / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.9773, allocations: 19.98 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9773, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.9773, allocations: 0.875 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9773, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.9773, allocations: 4 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.9774, allocations: 154.8 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.9775, allocations: 85.02 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.9775, allocations: 0 / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.9776, allocations: 19.97 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.9777, allocations: 2.938 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.9777, allocations: 4 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.9777, allocations: 91.2 kB / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9777, allocations: 3.938 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002004/0.9779, allocations: 7.938 kB / 1.017 GB, free: 2.41 MB / 0.6355 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 () * 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.0004362/0.9784, allocations: 0.6835 MB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.46e-05/0.9785, allocations: 23.69 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9785, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.9785, allocations: 11.62 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.9787, allocations: 7.938 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.9791, allocations: 111.5 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.9794, allocations: 0.6846 MB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.9794, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.9795, allocations: 15.38 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of SimCode: time 2e-07/0.9795, allocations: 3.938 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.9989, allocations: 0.9626 MB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.9992, allocations: 164.2 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/2.442, allocations: 0.7812 kB / 1.02 GB, free: 15.67 MB / 0.6511 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)