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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.6 MB / 307.5 MB, free: 5.062 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.00104/0.00104, allocations: 173 kB / 377.1 MB, free: 1.41 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.552/1.552, allocations: 205.4 MB / 0.6367 GB, free: 8.656 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.0009091/0.0009091, allocations: 90.03 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3019, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8849/1.187, allocations: 138.6 MB / 1.124 GB, free: 35.97 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.187, allocations: 70.36 kB / 1.124 GB, free: 35.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001663/1.189, allocations: 0.6572 MB / 1.124 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.725e-06/1.189, allocations: 0 / 1.124 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.189, allocations: 1.062 kB / 1.124 GB, free: 35.36 MB / 0.7292 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.000329/1.189, allocations: 336.8 kB / 1.125 GB, free: 35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.189, allocations: 16.02 kB / 1.125 GB, free: 34.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/1.189, allocations: 7.469 kB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/1.189, allocations: 163 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/1.19, allocations: 2.344 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/1.19, allocations: 4 kB / 1.125 GB, free: 34.78 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/1.19, allocations: 59.88 kB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.19, allocations: 0.5469 kB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/1.19, allocations: 1.188 kB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.19, allocations: 1.172 kB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/1.19, allocations: 49.75 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/1.19, allocations: 267.5 kB / 1.125 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.19, allocations: 39.8 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/1.191, allocations: 3.125 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/1.191, allocations: 35.25 kB / 1.125 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/1.191, allocations: 4.656 kB / 1.125 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/1.191, allocations: 94.98 kB / 1.125 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.191, allocations: 59.53 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/1.191, allocations: 93.31 kB / 1.126 GB, free: 34.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/1.191, allocations: 25.7 kB / 1.126 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/1.191, allocations: 84.14 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/1.191, allocations: 7.906 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/1.191, allocations: 0.9375 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/1.191, allocations: 314.8 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.587e-05/1.191, allocations: 30.84 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.274e-05/1.191, allocations: 15.28 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.205e-05/1.191, allocations: 26.84 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.191, allocations: 0 / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001688/1.192, allocations: 83.94 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/1.192, allocations: 4 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.192, allocations: 0 / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.192, allocations: 4 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/1.192, allocations: 16.39 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/1.192, allocations: 0 / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/1.192, allocations: 8.469 kB / 1.126 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/1.192, allocations: 7.375 kB / 1.126 GB, free: 33.46 MB / 0.7292 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 () * Number of clocked 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 5.654e-05/1.192, allocations: 109.8 kB / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/1.192, allocations: 0 / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/1.192, allocations: 90.22 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.192, allocations: 0 / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/1.192, allocations: 1.25 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.192, allocations: 0.5625 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/1.192, allocations: 161 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.192, allocations: 3.375 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/1.192, allocations: 12.03 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.192, allocations: 0.5625 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/1.192, allocations: 0 / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.192, allocations: 4.219 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.192, allocations: 0 / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/1.193, allocations: 176.2 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/1.193, allocations: 81.06 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/1.193, allocations: 0 / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/1.193, allocations: 7.516 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/1.193, allocations: 8.438 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/1.193, allocations: 0 / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.315e-05/1.193, allocations: 90.64 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.193, allocations: 0.8438 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001886/1.193, allocations: 4 kB / 1.127 GB, free: 32.68 MB / 0.7292 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 () * Number of clocked 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.0001187/1.193, allocations: 95.25 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001968/1.193, allocations: 49.89 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.193, allocations: 0 / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/1.193, allocations: 26.52 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/1.194, allocations: 5.359 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/1.194, allocations: 118.9 kB / 1.127 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/1.194, allocations: 0.6804 MB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.483e-05/1.194, allocations: 3.906 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/1.194, allocations: 7.438 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/1.194, allocations: 0 / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.00212/1.196, allocations: 356.8 kB / 1.128 GB, free: 31.47 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)