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.464/1.464, allocations: 249.3 MB / 261.8 MB, free: 5.926 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.001033/0.001033, allocations: 178.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008653/0.0008654, allocations: 90.45 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.382e-05/4.434e-05, allocations: 4 kB / 0.7881 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2392, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7941/1.033, allocations: 131.3 MB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/1.034, allocations: 67.34 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002429/1.036, allocations: 0.8376 MB / 1.021 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.492e-06/1.036, allocations: 0 / 1.021 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.057e-05/1.036, allocations: 4 kB / 1.021 GB, free: 2.582 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.0004413/1.037, allocations: 362 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.037, allocations: 8.031 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/1.037, allocations: 38.44 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/1.037, allocations: 7.906 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/1.037, allocations: 167 kB / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/1.037, allocations: 4 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/1.037, allocations: 0 / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/1.037, allocations: 49.19 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.037, allocations: 0 / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1.037, allocations: 0 / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.037, allocations: 4 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.88e-05/1.037, allocations: 18.88 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/1.038, allocations: 315.5 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.698e-05/1.038, allocations: 32.7 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/1.038, allocations: 23.86 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/1.038, allocations: 0 / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.038, allocations: 30.56 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.755e-06/1.038, allocations: 6.719 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000167/1.038, allocations: 57.38 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.038, allocations: 51.41 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/1.038, allocations: 100.5 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/1.038, allocations: 29.7 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/1.038, allocations: 91 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/1.038, allocations: 3.906 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/1.038, allocations: 2.938 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.039, allocations: 310.8 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/1.039, allocations: 11.12 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/1.039, allocations: 13.78 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/1.039, allocations: 7.125 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.039, allocations: 0 / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001191/1.039, allocations: 60.53 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.039, allocations: 4 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.039, allocations: 0 / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.039, allocations: 0 / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/1.039, allocations: 27.72 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/1.039, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/1.039, allocations: 19.98 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/1.039, allocations: 7.953 kB / 1.023 GB, free: 0.625 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 6.895e-05/1.039, allocations: 101 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/1.039, allocations: 0 / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/1.039, allocations: 11.47 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.039, allocations: 3.938 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.039, allocations: 3.938 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/1.039, allocations: 0 / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/1.04, allocations: 172.2 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.04, allocations: 4.875 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/1.04, allocations: 19.98 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.04, allocations: 0 / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/1.04, allocations: 0 / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.04, allocations: 0 / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.04, allocations: 3.125 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/1.04, allocations: 157.7 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/1.04, allocations: 81.11 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/1.04, allocations: 7.922 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/1.04, allocations: 15.98 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/1.04, allocations: 3.812 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/1.04, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.765e-05/1.04, allocations: 91.2 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.04, allocations: 4 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001992/1.04, allocations: 15.19 kB / 1.023 GB, free: 15.88 MB / 0.6511 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.0004333/1.041, allocations: 0.6845 MB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.168e-05/1.041, allocations: 18.59 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.041, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/1.041, allocations: 19.47 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/1.041, allocations: 11.55 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/1.042, allocations: 103 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/1.042, allocations: 0.6887 MB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.527e-05/1.042, allocations: 3.938 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/1.042, allocations: 17.75 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/1.042, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/1.054, allocations: 1.29 MB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/1.054, allocations: 182.4 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.571, allocations: 0 / 1.026 GB, free: 12.88 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)