Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001244/0.001244, allocations: 180.9 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008694/0.0008696, allocations: 95.62 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.064e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6655/0.6656, allocations: 116.3 MB / 0.9734 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.8812, allocations: 137.8 MB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.8815, allocations: 69.09 kB / 1.108 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001782/0.8833, allocations: 0.6551 MB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8833, allocations: 0.5312 kB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8833, allocations: 3.25 kB / 1.109 GB, free: 11.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003339/0.8837, allocations: 336.3 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8837, allocations: 8.031 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.8838, allocations: 0.5938 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.8839, allocations: 171.8 kB / 1.109 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.8839, allocations: 0 / 1.109 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.8839, allocations: 0 / 1.109 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.172e-05/0.884, allocations: 17.06 kB / 1.109 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.467e-05/0.8841, allocations: 37.19 kB / 1.109 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.8841, allocations: 0.8438 kB / 1.109 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.8841, allocations: 0 / 1.109 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8841, allocations: 2.125 kB / 1.109 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.8845, allocations: 247.7 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.304e-05/0.8846, allocations: 23.38 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.8846, allocations: 17.72 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.8846, allocations: 2.438 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.8847, allocations: 35.03 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.8847, allocations: 4.5 kB / 1.11 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.8848, allocations: 38.27 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.8849, allocations: 52.19 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.8849, allocations: 89.81 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.885, allocations: 25.7 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.885, allocations: 88.62 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.885, allocations: 4.688 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.8851, allocations: 0 / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8852, allocations: 315.3 kB / 1.11 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.8852, allocations: 4.594 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.8852, allocations: 5.469 kB / 1.11 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/0.8853, allocations: 7.953 kB / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8853, allocations: 0 / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.299e-05/0.8854, allocations: 47.16 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8854, allocations: 4 kB / 1.11 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8854, allocations: 4 kB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.8854, allocations: 1.469 kB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.8855, allocations: 11.98 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.8855, allocations: 2.438 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.8856, allocations: 5.281 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.8856, allocations: 4 kB / 1.11 GB, free: 9.809 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 (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.362e-05/0.8857, allocations: 106.2 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.321e-05/0.8858, allocations: 45.59 kB / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.8858, allocations: 8.125 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.819e-05/0.8859, allocations: 50.25 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.8859, allocations: 0 / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.8859, allocations: 1.438 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.8859, allocations: 0 / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.8861, allocations: 138.2 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8861, allocations: 1.062 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.8862, allocations: 12.67 kB / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8862, allocations: 2.156 kB / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.8862, allocations: 4 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8862, allocations: 0 / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8862, allocations: 3.203 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.8863, allocations: 147.8 kB / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.8864, allocations: 85.09 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.8864, allocations: 2.625 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.8865, allocations: 7.984 kB / 1.111 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.8865, allocations: 4 kB / 1.111 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.8865, allocations: 0 / 1.111 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.8866, allocations: 79.28 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8866, allocations: 4.031 kB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001996/0.8868, allocations: 3.906 kB / 1.111 GB, free: 9.039 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.0004351/0.8872, allocations: 0.681 MB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.443e-05/0.8873, allocations: 12 kB / 1.112 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8873, allocations: 8.031 kB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.8873, allocations: 7.984 kB / 1.112 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.8875, allocations: 4 kB / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.8879, allocations: 96.16 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.8882, allocations: 0.6768 MB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.8882, allocations: 0 / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.8883, allocations: 17.73 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8883, allocations: 64 / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.9091, allocations: 0.683 MB / 1.113 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/0.9094, allocations: 141 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/2.348, allocations: 3.469 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)