Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001079/0.001079, allocations: 186.5 kB / 371.8 MB, free: 10.27 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.673/1.673, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009534/0.0009533, allocations: 90.66 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006424/0.0006423, allocations: 14.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2595, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7246/0.9841, allocations: 137.5 MB / 1.114 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.9845, allocations: 69.2 kB / 1.114 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00269/0.9872, allocations: 0.8077 MB / 1.115 GB, free: 32.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9872, allocations: 0 / 1.115 GB, free: 32.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.9872, allocations: 0 / 1.115 GB, free: 32.12 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.0004438/0.9877, allocations: 373.2 kB / 1.115 GB, free: 31.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.9877, allocations: 11.7 kB / 1.115 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.9878, allocations: 34.41 kB / 1.115 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.9878, allocations: 0 / 1.115 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.9879, allocations: 189 kB / 1.115 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.988, allocations: 0 / 1.115 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.988, allocations: 0 / 1.115 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.9882, allocations: 82.53 kB / 1.115 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9883, allocations: 3.844 kB / 1.115 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.9883, allocations: 0 / 1.115 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.9883, allocations: 0 / 1.115 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.9886, allocations: 82.38 kB / 1.115 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.9891, allocations: 303.2 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.9893, allocations: 72.03 kB / 1.116 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.9893, allocations: 0 / 1.116 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.9894, allocations: 34.19 kB / 1.116 GB, free: 31.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.9894, allocations: 0 / 1.116 GB, free: 31.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005288/0.9899, allocations: 164.7 kB / 1.116 GB, free: 31.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.99, allocations: 59.34 kB / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.9901, allocations: 103.5 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.9901, allocations: 25.7 kB / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.9901, allocations: 87.92 kB / 1.116 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.9902, allocations: 6.625 kB / 1.116 GB, free: 30.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.9902, allocations: 2.625 kB / 1.116 GB, free: 30.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9903, allocations: 322.6 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.9904, allocations: 42.19 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.9906, allocations: 43.89 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.9907, allocations: 43.03 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9907, allocations: 0 / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003028/0.991, allocations: 120.9 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.9911, allocations: 3.656 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.9911, allocations: 0 / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9911, allocations: 0 / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.9912, allocations: 32.3 kB / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.9912, allocations: 0 / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.9913, allocations: 17.58 kB / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.9913, allocations: 0 / 1.117 GB, free: 30.44 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 7.78e-05/0.9914, allocations: 129.3 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.9915, allocations: 0 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.9915, allocations: 3.906 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9915, allocations: 6.781 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.9915, allocations: 0 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.9915, allocations: 336 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.9917, allocations: 171.6 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9917, allocations: 0 / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.9918, allocations: 21.97 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.9918, allocations: 10.67 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.9918, allocations: 4.531 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9918, allocations: 0 / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9918, allocations: 3.844 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.9921, allocations: 216.1 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.9922, allocations: 80.86 kB / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.9922, allocations: 6.5 kB / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.9923, allocations: 18.25 kB / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.9924, allocations: 2.719 kB / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.9924, allocations: 3.906 kB / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.9924, allocations: 85.3 kB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9924, allocations: 0 / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002165/0.9926, allocations: 7.688 kB / 1.118 GB, free: 29.79 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.0006317/0.9933, allocations: 0.7568 MB / 1.118 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.9936, allocations: 99.02 kB / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9936, allocations: 0 / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.9938, allocations: 43.92 kB / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.994, allocations: 11.81 kB / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.9944, allocations: 157.6 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.9946, allocations: 0.6821 MB / 1.119 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.9946, allocations: 4 kB / 1.119 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.9946, allocations: 14.11 kB / 1.119 GB, free: 28.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.9947, allocations: 3.844 kB / 1.119 GB, free: 28.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01056/1.005, allocations: 1.289 MB / 1.121 GB, free: 28.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/1.005, allocations: 197.7 kB / 1.121 GB, free: 27.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.52, allocations: 0 / 1.121 GB, free: 27.86 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)