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.84/1.84, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001465/0.001466, allocations: 180.8 kB / 371.6 MB, free: 3.355 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.927/1.927, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001019/0.001019, allocations: 90.55 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.111e-05/5.113e-05, allocations: 11.98 kB / 0.8664 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2673, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7992/1.067, allocations: 138.5 MB / 1.115 GB, free: 45.06 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.067, allocations: 68.8 kB / 1.115 GB, free: 45.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001686/1.069, allocations: 0.6567 MB / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/1.069, allocations: 0 / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.069, allocations: 0 / 1.116 GB, free: 44.54 MB / 0.7448 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.0003025/1.069, allocations: 333.8 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.069, allocations: 8.531 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/1.069, allocations: 36.44 kB / 1.116 GB, free: 44.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/1.069, allocations: 3.75 kB / 1.116 GB, free: 44.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.491e-05/1.069, allocations: 172.1 kB / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/1.069, allocations: 10.7 kB / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/1.069, allocations: 2.938 kB / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.766e-05/1.069, allocations: 36 kB / 1.116 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/1.069, allocations: 0 / 1.116 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/1.069, allocations: 0 / 1.116 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.069, allocations: 4 kB / 1.116 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/1.069, allocations: 7.703 kB / 1.116 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/1.07, allocations: 272.7 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.039e-05/1.07, allocations: 30.14 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/1.07, allocations: 8.922 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/1.07, allocations: 0 / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/1.07, allocations: 33.31 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.664e-06/1.07, allocations: 0.5156 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/1.07, allocations: 43.34 kB / 1.117 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/1.07, allocations: 56.5 kB / 1.117 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.939e-05/1.07, allocations: 100.6 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/1.07, allocations: 25.7 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/1.07, allocations: 87.73 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/1.07, allocations: 8.156 kB / 1.117 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/1.07, allocations: 0 / 1.117 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.851e-05/1.07, allocations: 318.8 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/1.07, allocations: 3.625 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/1.07, allocations: 4 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.939e-05/1.07, allocations: 6.688 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.07, allocations: 0 / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.036e-05/1.07, allocations: 49.11 kB / 1.117 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.07, allocations: 4 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.07, allocations: 0 / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/1.07, allocations: 0 / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/1.071, allocations: 11.52 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/1.071, allocations: 3.938 kB / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/1.071, allocations: 8.625 kB / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/1.071, allocations: 7.5 kB / 1.117 GB, free: 42.78 MB / 0.7448 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 3.859e-05/1.071, allocations: 109.2 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/1.071, allocations: 4 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.087e-05/1.071, allocations: 47.52 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/1.071, allocations: 0 / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/1.071, allocations: 0 / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.071, allocations: 0 / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/1.071, allocations: 161.1 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.071, allocations: 4 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/1.071, allocations: 20.22 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.071, allocations: 0 / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/1.071, allocations: 0 / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.071, allocations: 3.719 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.071, allocations: 3.938 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.755e-05/1.071, allocations: 140.7 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/1.071, allocations: 82.03 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/1.071, allocations: 2.75 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/1.071, allocations: 12.44 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/1.071, allocations: 0 / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/1.071, allocations: 0.8438 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.118e-05/1.071, allocations: 79.28 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.071, allocations: 0 / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002128/1.072, allocations: 7.125 kB / 1.118 GB, free: 42.07 MB / 0.7448 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.0002524/1.072, allocations: 0.6815 MB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.922e-05/1.072, allocations: 11.62 kB / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.072, allocations: 0 / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/1.072, allocations: 7.5 kB / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/1.072, allocations: 12.84 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/1.072, allocations: 88.45 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/1.073, allocations: 0.6806 MB / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.155e-05/1.073, allocations: 2.953 kB / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/1.073, allocations: 7.438 kB / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.073, allocations: 0.6562 kB / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/1.083, allocations: 1.004 MB / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/1.083, allocations: 156.1 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.63, allocations: 0 / 1.121 GB, free: 39.79 MB / 0.7448 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)