Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.478/2.478, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001504/0.001503, allocations: 180.8 kB / 360.6 MB, free: 7.301 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.21/2.21, allocations: 205.3 MB / 0.6191 GB, free: 12.24 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.001101/0.001101, allocations: 96.14 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.592e-05/4.612e-05, allocations: 8 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8598, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/1.129, allocations: 136.7 MB / 1.097 GB, free: 3.895 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/1.129, allocations: 69.36 kB / 1.097 GB, free: 3.828 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00244/1.132, allocations: 0.6565 MB / 1.098 GB, free: 3.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/1.132, allocations: 0 / 1.098 GB, free: 3.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.132, allocations: 0.6875 kB / 1.098 GB, free: 3.18 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.0004907/1.132, allocations: 331 kB / 1.098 GB, free: 2.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.132, allocations: 12.03 kB / 1.098 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/1.132, allocations: 1.953 kB / 1.098 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/1.133, allocations: 174.9 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/1.133, allocations: 5.688 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/1.133, allocations: 4 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.718e-05/1.133, allocations: 8 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.676e-05/1.133, allocations: 34.27 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.133, allocations: 2.844 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.133, allocations: 0.5938 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/1.133, allocations: 4 kB / 1.098 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/1.133, allocations: 248 kB / 1.098 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/1.134, allocations: 27.11 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/1.134, allocations: 13.42 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/1.134, allocations: 5.453 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.134, allocations: 32.88 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/1.134, allocations: 0.8438 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001762/1.134, allocations: 37.7 kB / 1.099 GB, free: 2.129 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/1.134, allocations: 56.67 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/1.134, allocations: 89 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/1.134, allocations: 26.33 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/1.134, allocations: 88.95 kB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/1.134, allocations: 3.906 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/1.134, allocations: 2.156 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.134, allocations: 314.8 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/1.134, allocations: 12.56 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/1.134, allocations: 8.484 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/1.134, allocations: 4.562 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.134, allocations: 1.406 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001017/1.134, allocations: 37.7 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.135, allocations: 4 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.135, allocations: 0.875 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.135, allocations: 0 / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/1.135, allocations: 15.48 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.135, allocations: 7.938 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/1.135, allocations: 7.984 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/1.135, allocations: 5.406 kB / 1.099 GB, free: 1.426 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 8.837e-05/1.135, allocations: 112.7 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001134/1.135, allocations: 46.2 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/1.135, allocations: 0 / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/1.135, allocations: 49.44 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.135, allocations: 0 / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.135, allocations: 5.25 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.135, allocations: 0 / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/1.136, allocations: 138.2 kB / 1.1 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/1.136, allocations: 192 / 1.1 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/1.136, allocations: 12 kB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.136, allocations: 3.984 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.136, allocations: 2.062 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.136, allocations: 0 / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.136, allocations: 0 / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/1.136, allocations: 143.5 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/1.136, allocations: 81.14 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/1.136, allocations: 3.984 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/1.136, allocations: 8 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/1.136, allocations: 6.797 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/1.136, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.907e-05/1.136, allocations: 79.28 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.136, allocations: 0 / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002917/1.137, allocations: 7.906 kB / 1.1 GB, free: 0.6602 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 () * 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.0005586/1.137, allocations: 0.6799 MB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001071/1.137, allocations: 12 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.137, allocations: 0 / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/1.137, allocations: 4 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/1.138, allocations: 16.25 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/1.138, allocations: 89.19 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/1.138, allocations: 0.6814 MB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.333e-05/1.138, allocations: 0 / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/1.139, allocations: 11.44 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/1.139, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/1.172, allocations: 0.6951 MB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.172, allocations: 147.1 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/3.517, allocations: 0 / 1.102 GB, free: 14.24 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)