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.Cos.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.Cos,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.786/1.786, allocations: 285.6 MB / 293.1 MB, free: 10.3 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.002464/0.002464, allocations: 180.9 kB / 361.4 MB, free: 6.883 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.806/1.806, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0008426/0.0008426, allocations: 90.25 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.018e-05, allocations: 8 kB / 0.8519 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7747/0.7747, allocations: 115.3 MB / 0.9645 GB, free: 79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.9652, allocations: 136.8 MB / 1.098 GB, free: 3.004 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.9656, allocations: 73.36 kB / 1.098 GB, free: 2.934 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001752/0.9673, allocations: 0.6494 MB / 1.099 GB, free: 2.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9674, allocations: 0.5938 kB / 1.099 GB, free: 2.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.9674, allocations: 2.062 kB / 1.099 GB, free: 2.297 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004229/0.9678, allocations: 339 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.9679, allocations: 12.53 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.9679, allocations: 2.781 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.9681, allocations: 174.9 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.9681, allocations: 6.938 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.9681, allocations: 0 / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.305e-05/0.9682, allocations: 8 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.617e-05/0.9683, allocations: 42.28 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.9683, allocations: 0.625 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.9683, allocations: 0 / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.9683, allocations: 3.422 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.9687, allocations: 246.5 kB / 1.1 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.358e-05/0.9688, allocations: 27.2 kB / 1.1 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.9689, allocations: 13.48 kB / 1.1 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.9689, allocations: 0.7188 kB / 1.1 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.9689, allocations: 31.27 kB / 1.1 GB, free: 1.285 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.9689, allocations: 0.625 kB / 1.1 GB, free: 1.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001381/0.9691, allocations: 42.41 kB / 1.1 GB, free: 1.238 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.9691, allocations: 56.25 kB / 1.1 GB, free: 1.172 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.9692, allocations: 89 kB / 1.1 GB, free: 1.078 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.9692, allocations: 26.2 kB / 1.1 GB, free: 1.047 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.9693, allocations: 86.23 kB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.9693, allocations: 7.891 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.9693, allocations: 0.5312 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9694, allocations: 311.5 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.9694, allocations: 9.156 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.9695, allocations: 7.938 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.9695, allocations: 9.891 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.9695, allocations: 0 / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.765e-05/0.9696, allocations: 37.7 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.9696, allocations: 7.984 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9696, allocations: 0 / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.9696, allocations: 5.938 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.9697, allocations: 8 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9697, allocations: 0 / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.9698, allocations: 8.859 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.9698, allocations: 0.9375 kB / 1.1 GB, free: 0.5469 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.213e-05/0.9699, allocations: 113.8 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.624e-05/0.97, allocations: 48.78 kB / 1.101 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.97, allocations: 0 / 1.101 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.9701, allocations: 53.44 kB / 1.101 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9701, allocations: 0 / 1.101 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9701, allocations: 0 / 1.101 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.9702, allocations: 1.219 kB / 1.101 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.9703, allocations: 134.2 kB / 1.101 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9703, allocations: 2.906 kB / 1.101 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.9704, allocations: 19.11 kB / 1.101 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.9704, allocations: 0 / 1.101 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.9704, allocations: 0 / 1.101 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9704, allocations: 0 / 1.101 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9704, allocations: 4 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.9706, allocations: 147.6 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.9706, allocations: 77.11 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.9706, allocations: 4 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.9707, allocations: 7.984 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.9708, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.9708, allocations: 4 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.9708, allocations: 75.88 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9708, allocations: 4 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000212/0.9711, allocations: 7.906 kB / 1.101 GB, free: 15.78 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 (2): * Single equations (assignments): 2 * 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.0004583/0.9715, allocations: 0.6827 MB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.135e-05/0.9716, allocations: 15.94 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9716, allocations: 4.094 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.92e-05/0.9717, allocations: 4 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.9719, allocations: 6.125 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.9722, allocations: 96.48 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.9725, allocations: 0.6768 MB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.9725, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.9725, allocations: 15.44 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9726, allocations: 4.062 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.9948, allocations: 0.6902 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.9952, allocations: 157.2 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.646, allocations: 1.969 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)