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.777/1.777, allocations: 288.4 MB / 303.7 MB, free: 8.027 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.001073/0.001073, allocations: 176.5 kB / 372.3 MB, free: 10.14 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.805/1.805, allocations: 205.4 MB / 0.631 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009462/0.0009463, allocations: 89.11 kB / 0.7444 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 15.59 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2541, allocations: 115.3 MB / 0.9802 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0009399/0.2551, allocations: 383.2 kB / 0.9805 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.256, allocations: 0.7971 MB / 0.9813 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.2561, allocations: 0 / 0.9813 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.2561, allocations: 0 / 0.9813 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.2562, allocations: 7.938 kB / 0.9813 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.2563, allocations: 15.97 kB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.2564, allocations: 15.94 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2565, allocations: 11.98 kB / 0.9813 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.066e-05/0.2566, allocations: 4 kB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.2567, allocations: 15.86 kB / 0.9814 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.2567, allocations: 0 / 0.9814 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.2567, allocations: 4 kB / 0.9814 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.2567, allocations: 4 kB / 0.9814 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.2567, allocations: 29.64 kB / 0.9814 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.472e-05/0.2568, allocations: 23.95 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.2568, allocations: 0 / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2568, allocations: 0 / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2568, allocations: 0 / 0.9814 GB, free: 26.04 MB / 0.6198 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.0004105/0.2573, allocations: 339.7 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2573, allocations: 15.97 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.2573, allocations: 0.9375 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/0.2574, allocations: 168.4 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2575, allocations: 384 / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.2575, allocations: 4.375 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.2577, allocations: 54.23 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2577, allocations: 192 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2577, allocations: 3.938 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2577, allocations: 0 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.2579, allocations: 47.91 kB / 0.982 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.2582, allocations: 249 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.2583, allocations: 46.5 kB / 0.9823 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.2584, allocations: 24.91 kB / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.2584, allocations: 0 / 0.9823 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.2585, allocations: 38.55 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.2585, allocations: 4 kB / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003258/0.2588, allocations: 97.5 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2588, allocations: 55.53 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.2589, allocations: 105.8 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.2589, allocations: 25.7 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.259, allocations: 84.14 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.259, allocations: 3.906 kB / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.259, allocations: 0 / 0.9827 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.2591, allocations: 318.8 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.543e-05/0.2591, allocations: 23.98 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.2592, allocations: 19.98 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.2594, allocations: 60.75 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2594, allocations: 4 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.2595, allocations: 73.61 kB / 0.9832 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2596, allocations: 4 kB / 0.9832 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2596, allocations: 4.031 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2596, allocations: 0 / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.2597, allocations: 11.98 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2597, allocations: 0 / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.2597, allocations: 11.98 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2598, allocations: 0 / 0.9832 GB, free: 23.96 MB / 0.6198 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.101e-05/0.2598, allocations: 121.8 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.2598, allocations: 4 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.2601, allocations: 80.72 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2601, allocations: 0 / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2601, allocations: 0 / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2601, allocations: 0 / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2602, allocations: 169.6 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2602, allocations: 0 / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.2603, allocations: 15.98 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2603, allocations: 0 / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2603, allocations: 8 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2603, allocations: 0 / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2603, allocations: 0 / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.2605, allocations: 179.3 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.2605, allocations: 81.05 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.2606, allocations: 4 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.2606, allocations: 8.016 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.2607, allocations: 8 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2607, allocations: 4 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.24e-05/0.2607, allocations: 75.28 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2607, allocations: 0 / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001933/0.2609, allocations: 4 kB / 0.984 GB, free: 23.12 MB / 0.6198 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.0001219/0.2611, allocations: 106.3 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.2613, allocations: 43.97 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2613, allocations: 4 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.2614, allocations: 27.92 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.2616, allocations: 19.92 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.2619, allocations: 101 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.2621, allocations: 0.677 MB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.2621, allocations: 0 / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.2621, allocations: 7.438 kB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2621, allocations: 0 / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.002038/0.2642, allocations: 353.3 kB / 0.9853 GB, free: 21.74 MB / 0.6198 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)