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.878/1.878, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001061/0.001061, allocations: 184.8 kB / 366.7 MB, free: 1.641 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.854/1.854, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.001091/0.001091, allocations: 90.02 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.423e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6618, allocations: 116.3 MB / 0.9734 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.8451, allocations: 137.8 MB / 1.108 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.8454, allocations: 71.95 kB / 1.108 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002329/0.8478, allocations: 0.8027 MB / 1.109 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8478, allocations: 0.7812 kB / 1.109 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.8478, allocations: 0 / 1.109 GB, free: 11.47 MB / 0.7136 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.000474/0.8483, allocations: 357.7 kB / 1.109 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.8484, allocations: 12.53 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.8484, allocations: 4.406 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.8486, allocations: 171 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.8486, allocations: 0.875 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.8486, allocations: 3.5 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/0.8487, allocations: 21.06 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.372e-05/0.8488, allocations: 43.33 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8488, allocations: 5.359 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.8489, allocations: 0 / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8489, allocations: 0 / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.8494, allocations: 288.2 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.8495, allocations: 36.55 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/0.8495, allocations: 12.86 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.8495, allocations: 0 / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.8496, allocations: 34.5 kB / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.8496, allocations: 0 / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001576/0.8497, allocations: 53.78 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.8498, allocations: 52.94 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.8499, allocations: 100.4 kB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.8499, allocations: 25.7 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.85, allocations: 84.98 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.85, allocations: 15.8 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.85, allocations: 3.281 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.8501, allocations: 314.8 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.8502, allocations: 8 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.8502, allocations: 12.03 kB / 1.11 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.8502, allocations: 8 kB / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8502, allocations: 0 / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.837e-05/0.8503, allocations: 53.62 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8504, allocations: 7.375 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8504, allocations: 0 / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.8504, allocations: 0 / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.8505, allocations: 19.98 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8505, allocations: 3.984 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-05/0.8506, allocations: 23.02 kB / 1.11 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.8507, allocations: 0 / 1.11 GB, free: 9.566 MB / 0.7136 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.889e-05/0.8507, allocations: 112.2 kB / 1.111 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.826e-05/0.8508, allocations: 53.03 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.8509, allocations: 4 kB / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.8509, allocations: 9.75 kB / 1.111 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8509, allocations: 4 kB / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8509, allocations: 0 / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8509, allocations: 0 / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.8511, allocations: 150.1 kB / 1.111 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8511, allocations: 0 / 1.111 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.8512, allocations: 23.97 kB / 1.111 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.8512, allocations: 0 / 1.111 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.8512, allocations: 0 / 1.111 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.8512, allocations: 4 kB / 1.111 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8512, allocations: 0 / 1.111 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.8514, allocations: 151.4 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.8514, allocations: 81.11 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.8514, allocations: 4 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.8516, allocations: 11.98 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.8516, allocations: 14.7 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.8516, allocations: 0 / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.8517, allocations: 87.28 kB / 1.111 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8517, allocations: 0 / 1.111 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002033/0.8519, allocations: 7.938 kB / 1.111 GB, free: 8.781 MB / 0.7136 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.0004449/0.8523, allocations: 0.6915 MB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.8525, allocations: 23.98 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8525, allocations: 0 / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.8525, allocations: 12 kB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.8527, allocations: 9.5 kB / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.8531, allocations: 104.1 kB / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.8534, allocations: 0.685 MB / 1.113 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.8534, allocations: 4 kB / 1.113 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.8535, allocations: 11.44 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8535, allocations: 0 / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.8789, allocations: 0.9604 MB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.8792, allocations: 147.5 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.403, allocations: 3.656 kB / 1.114 GB, free: 6.047 MB / 0.7136 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)