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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.623/1.623, allocations: 285.4 MB / 298 MB, free: 6.004 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.001173/0.001173, allocations: 188.9 kB / 366.4 MB, free: 2.086 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.862/1.862, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0009973/0.000997, allocations: 90.45 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.637e-05/8.67e-05, allocations: 8 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8105, allocations: 115.3 MB / 0.9709 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/1.031, allocations: 137.5 MB / 1.105 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.031, allocations: 67.95 kB / 1.105 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00184/1.033, allocations: 0.657 MB / 1.106 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.286e-06/1.033, allocations: 3.984 kB / 1.106 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.702e-06/1.033, allocations: 0 / 1.106 GB, free: 13.58 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.0003462/1.033, allocations: 327.8 kB / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.033, allocations: 12.03 kB / 1.106 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/1.033, allocations: 3.984 kB / 1.106 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.033, allocations: 170.9 kB / 1.106 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/1.033, allocations: 4 kB / 1.106 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/1.034, allocations: 3.5 kB / 1.106 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.034, allocations: 39.89 kB / 1.106 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.034, allocations: 0 / 1.106 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/1.034, allocations: 1.25 kB / 1.106 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.034, allocations: 4 kB / 1.106 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/1.034, allocations: 8 kB / 1.106 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/1.034, allocations: 273.1 kB / 1.107 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/1.034, allocations: 26.58 kB / 1.107 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/1.034, allocations: 16.89 kB / 1.107 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/1.034, allocations: 6.281 kB / 1.107 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/1.034, allocations: 30.56 kB / 1.107 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/1.034, allocations: 0 / 1.107 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001468/1.035, allocations: 41.64 kB / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/1.035, allocations: 55.41 kB / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/1.035, allocations: 89 kB / 1.107 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.035, allocations: 28.83 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/1.035, allocations: 88.12 kB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/1.035, allocations: 3.906 kB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-06/1.035, allocations: 0 / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.035, allocations: 319.6 kB / 1.107 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/1.035, allocations: 4 kB / 1.107 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/1.035, allocations: 6.219 kB / 1.107 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/1.035, allocations: 8 kB / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.035, allocations: 0 / 1.107 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.044e-05/1.035, allocations: 45.69 kB / 1.107 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.035, allocations: 5.406 kB / 1.107 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.035, allocations: 1.156 kB / 1.107 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.035, allocations: 0 / 1.107 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/1.035, allocations: 18.98 kB / 1.107 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.035, allocations: 0 / 1.107 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/1.035, allocations: 9.312 kB / 1.107 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/1.035, allocations: 0 / 1.107 GB, free: 11.79 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.69e-05/1.035, allocations: 111.7 kB / 1.108 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/1.035, allocations: 7.906 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/1.036, allocations: 44.81 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.036, allocations: 0 / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.036, allocations: 2.75 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/1.036, allocations: 3.984 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/1.036, allocations: 161.6 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.036, allocations: 2.531 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/1.036, allocations: 15.98 kB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.036, allocations: 3.938 kB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/1.036, allocations: 0 / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.036, allocations: 0 / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1.036, allocations: 0 / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/1.036, allocations: 143.7 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/1.036, allocations: 77.3 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/1.036, allocations: 0 / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/1.036, allocations: 15.97 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/1.036, allocations: 0 / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/1.036, allocations: 0 / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.569e-05/1.036, allocations: 88.72 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 0 / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001872/1.036, allocations: 4 kB / 1.108 GB, free: 11.03 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.000146/1.037, allocations: 99.25 kB / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.715e-05/1.037, allocations: 15.94 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.037, allocations: 2.594 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/1.037, allocations: 11.98 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/1.037, allocations: 8.125 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002061/1.037, allocations: 75.22 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/1.037, allocations: 0.6809 MB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.298e-05/1.037, allocations: 0 / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/1.037, allocations: 7.438 kB / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/1.037, allocations: 0 / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.002132/1.04, allocations: 357.6 kB / 1.109 GB, free: 9.762 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)