Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 288.4 MB / 303.7 MB, free: 8.164 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.001151/0.001151, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.97/1.97, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.001115/0.001114, allocations: 90.8 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004496, allocations: 16.88 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2498, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001435/0.2513, allocations: 410 kB / 0.9805 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2526, allocations: 0.8283 MB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.2526, allocations: 4 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.2527, allocations: 7.875 kB / 0.9814 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2528, allocations: 0 / 0.9814 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.253, allocations: 19.98 kB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.2531, allocations: 39.91 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.2533, allocations: 11.98 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.2534, allocations: 23.92 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.596e-05/0.2535, allocations: 19.91 kB / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.2535, allocations: 4 kB / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.2536, allocations: 0 / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.2536, allocations: 15.92 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.2537, allocations: 41.62 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.298e-05/0.2538, allocations: 23.92 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.2538, allocations: 0 / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.586e-06/0.2538, allocations: 0 / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.2538, allocations: 0 / 0.9815 GB, free: 25.88 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.000636/0.2544, allocations: 351.7 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.2545, allocations: 8.031 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.2546, allocations: 8.844 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.2548, allocations: 168.4 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.2548, allocations: 384 / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.2548, allocations: 4.375 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.2551, allocations: 78.14 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2551, allocations: 4.188 kB / 0.9821 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.2552, allocations: 7.938 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2552, allocations: 0 / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.2554, allocations: 59.94 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.256, allocations: 292.7 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.2562, allocations: 78.45 kB / 0.9826 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.2564, allocations: 40.92 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2564, allocations: 3.984 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2564, allocations: 30.56 kB / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2564, allocations: 0 / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004521/0.2569, allocations: 125.6 kB / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.257, allocations: 55.34 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.257, allocations: 105.8 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2571, allocations: 29.64 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.2571, allocations: 100.9 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.2572, allocations: 3.906 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.2572, allocations: 0 / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.2573, allocations: 318.8 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.2574, allocations: 27.98 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.433e-05/0.2575, allocations: 31.97 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.2576, allocations: 68.75 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2577, allocations: 0 / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002115/0.2579, allocations: 105.6 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2579, allocations: 4 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2579, allocations: 0 / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2579, allocations: 0 / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.2581, allocations: 15.98 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2581, allocations: 0 / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.2582, allocations: 12 kB / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2582, allocations: 3.984 kB / 0.9836 GB, free: 23.55 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.733e-05/0.2583, allocations: 121.8 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.2583, allocations: 3.906 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.2583, allocations: 3.906 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2584, allocations: 4 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.2584, allocations: 0 / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2584, allocations: 0 / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2585, allocations: 185.6 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2586, allocations: 4.25 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.2586, allocations: 19.98 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2587, allocations: 0 / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2587, allocations: 4 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2587, allocations: 0 / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2587, allocations: 0 / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.259, allocations: 195.7 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.259, allocations: 89.05 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.259, allocations: 3.984 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.2591, allocations: 12 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.2592, allocations: 7.922 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.2592, allocations: 8 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.948e-05/0.2592, allocations: 87.27 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2593, allocations: 0 / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002036/0.2595, allocations: 8 kB / 0.9843 GB, free: 22.72 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.0001952/0.2597, allocations: 95.25 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.2599, allocations: 75.88 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.26, allocations: 0 / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.2601, allocations: 43.91 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2604, allocations: 8.969 kB / 0.9845 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.2608, allocations: 132.7 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.261, allocations: 0.6809 MB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.136e-05/0.2611, allocations: 7.984 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.2611, allocations: 11.44 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2612, allocations: 0 / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.003139/0.2643, allocations: 0.7554 MB / 0.9861 GB, free: 20.86 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1)