Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.999/2.999, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.002122/0.002122, allocations: 186.7 kB / 371 MB, free: 10.86 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.276/2.276, allocations: 205.4 MB / 0.6297 GB, free: 10.55 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.001003/0.001003, allocations: 88.92 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008343/0.0008351, allocations: 12.3 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2664, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.000986/0.2674, allocations: 413.7 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2685, allocations: 0.8244 MB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.2686, allocations: 0 / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.2687, allocations: 3.938 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.2688, allocations: 3.984 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.2689, allocations: 31.91 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.536e-05/0.269, allocations: 35.92 kB / 0.9796 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2692, allocations: 11.98 kB / 0.9796 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.2693, allocations: 19.86 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.2694, allocations: 19.91 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.2694, allocations: 4 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.721e-05/0.2694, allocations: 0 / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.2695, allocations: 11.98 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.2695, allocations: 29.7 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.867e-05/0.2696, allocations: 27.94 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2696, allocations: 0 / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2696, allocations: 0 / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2696, allocations: 0 / 0.9797 GB, free: 26.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005953/0.2702, allocations: 353.6 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.2703, allocations: 15.95 kB / 0.9801 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.2703, allocations: 15.91 kB / 0.9801 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2705, allocations: 167 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2705, allocations: 8 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.2705, allocations: 0 / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.2708, allocations: 77.62 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2709, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2709, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2709, allocations: 4 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.2713, allocations: 67.94 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.2718, allocations: 288.7 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.2721, allocations: 74.53 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.2723, allocations: 32.92 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.2724, allocations: 0 / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.2724, allocations: 42.55 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.2724, allocations: 0 / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0006655/0.2731, allocations: 137.4 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.2731, allocations: 51.41 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2733, allocations: 105.8 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2733, allocations: 25.7 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.2734, allocations: 84.14 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2734, allocations: 11.81 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.2734, allocations: 3.938 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.2735, allocations: 318.8 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.2737, allocations: 31.98 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2739, allocations: 27.97 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.274, allocations: 27.98 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2741, allocations: 4 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004173/0.2745, allocations: 97.58 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2745, allocations: 4 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.2745, allocations: 0 / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2746, allocations: 0 / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.2748, allocations: 19.98 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2748, allocations: 3.953 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2749, allocations: 11.98 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.275, allocations: 0 / 0.9818 GB, free: 24.61 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.61e-05/0.275, allocations: 113.8 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.2751, allocations: 3.906 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.2751, allocations: 15.89 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2751, allocations: 4 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2752, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2752, allocations: 3.953 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.2754, allocations: 177.7 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2754, allocations: 0 / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.2755, allocations: 15.97 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2756, allocations: 7.938 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2756, allocations: 256 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2756, allocations: 4 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2756, allocations: 0 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.2761, allocations: 199.8 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.2761, allocations: 88.98 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.2762, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.2763, allocations: 15.98 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.2764, allocations: 11.98 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2764, allocations: 0 / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.2765, allocations: 79.28 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2765, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002894/0.2768, allocations: 12 kB / 0.9825 GB, free: 23.78 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001509/0.277, allocations: 107.1 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.2774, allocations: 67.89 kB / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2775, allocations: 0 / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.2777, allocations: 43.97 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2781, allocations: 9.188 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.2785, allocations: 137.6 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.2787, allocations: 0.6809 MB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.155e-05/0.2788, allocations: 4 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.2788, allocations: 19.36 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.453e-06/0.2789, allocations: 0 / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.00374/0.2826, allocations: 0.7398 MB / 0.9842 GB, free: 21.92 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1)