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.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.821/1.821, allocations: 288.4 MB / 303.4 MB, free: 8.137 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.001422/0.001422, allocations: 186.9 kB / 372 MB, free: 10.27 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.881/1.881, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.001062/0.001062, allocations: 98.86 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 13.94 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001024/0.2617, allocations: 423.1 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2628, allocations: 0.801 MB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.2629, allocations: 0 / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.2629, allocations: 3.938 kB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.263, allocations: 7.875 kB / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.2631, allocations: 11.92 kB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.969e-05/0.2632, allocations: 39.92 kB / 0.9809 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2633, allocations: 7.984 kB / 0.9809 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.2634, allocations: 19.92 kB / 0.9809 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.2635, allocations: 15.92 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2635, allocations: 0 / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.848e-05/0.2635, allocations: 4 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2635, allocations: 4 kB / 0.9809 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.2636, allocations: 33.64 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.034e-05/0.2637, allocations: 31.91 kB / 0.981 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2637, allocations: 4 kB / 0.981 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2637, allocations: 0 / 0.981 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2637, allocations: 0 / 0.981 GB, free: 26.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006404/0.2643, allocations: 367.5 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.2644, allocations: 12.02 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.2645, allocations: 11.91 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2646, allocations: 167 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2647, allocations: 4 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2647, allocations: 0 / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.265, allocations: 81.64 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.265, allocations: 7.938 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2651, allocations: 0 / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2651, allocations: 0 / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.2654, allocations: 87.92 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.2659, allocations: 264.9 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.2661, allocations: 62.55 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.2663, allocations: 60.83 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2663, allocations: 8 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2663, allocations: 30.56 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.2664, allocations: 0 / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005903/0.2669, allocations: 157.5 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.267, allocations: 63.39 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.2671, allocations: 101.9 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2671, allocations: 29.69 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.2672, allocations: 84.14 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2672, allocations: 11.84 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.2672, allocations: 4 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.2673, allocations: 314.8 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.2674, allocations: 51.89 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.2676, allocations: 39.97 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.2677, allocations: 47.95 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2677, allocations: 0 / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003061/0.2681, allocations: 121.5 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2681, allocations: 8 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.2681, allocations: 0 / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2681, allocations: 0 / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2682, allocations: 23.98 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2683, allocations: 3.984 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.2683, allocations: 15.98 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.2684, allocations: 0 / 0.9831 GB, free: 23.81 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 (3): * Single equations (assignments): 3 * 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.275e-05/0.2684, allocations: 117.8 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.2685, allocations: 7.938 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.2688, allocations: 129.5 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2688, allocations: 4 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2689, allocations: 0 / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2689, allocations: 0 / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.269, allocations: 185.4 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.269, allocations: 0 / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-05/0.2691, allocations: 19.98 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2691, allocations: 4 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.2691, allocations: 0 / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2691, allocations: 0 / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2691, allocations: 0 / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.2695, allocations: 219.4 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.2695, allocations: 81.11 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.2696, allocations: 4 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2697, allocations: 19.98 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.2698, allocations: 4.406 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2698, allocations: 4 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.2698, allocations: 83.28 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2698, allocations: 0 / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002055/0.27, allocations: 15.84 kB / 0.984 GB, free: 22.83 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 (3): * Single equations (assignments): 3 * 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.000201/0.2702, allocations: 99.23 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.2706, allocations: 99.84 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2706, allocations: 4 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2708, allocations: 39.97 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.2711, allocations: 11.95 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.2715, allocations: 132.7 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2716, allocations: 0.677 MB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.2717, allocations: 4 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.2717, allocations: 11.38 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.2717, allocations: 0 / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.002643/0.2744, allocations: 0.524 MB / 0.9855 GB, free: 21.18 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)