Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.749/2.749, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001376/0.001376, allocations: 177 kB / 371 MB, free: 10.84 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.279/2.279, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.002376/0.002376, allocations: 97.38 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005192, allocations: 17.59 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2487, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002638/0.2514, allocations: 1.594 MB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2536, allocations: 0.9418 MB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.2538, allocations: 7.938 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.2543, allocations: 95.69 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.2546, allocations: 75.73 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.2552, allocations: 105.8 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.2555, allocations: 171.5 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2557, allocations: 25.67 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.2558, allocations: 79.62 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.256, allocations: 83.55 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.2561, allocations: 7.938 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.2563, allocations: 51.97 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.2564, allocations: 47.81 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.2564, allocations: 57.56 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.2568, allocations: 203.8 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2568, allocations: 0 / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2568, allocations: 0 / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2568, allocations: 0 / 0.9818 GB, free: 24.76 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009755/0.2578, allocations: 0.5099 MB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.2579, allocations: 12.02 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.258, allocations: 27.67 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.2585, allocations: 286.4 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.2585, allocations: 4 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.2585, allocations: 12 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.2588, allocations: 89.64 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2588, allocations: 0 / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2588, allocations: 0 / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2589, allocations: 7.953 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.259, allocations: 37.11 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009343/0.26, allocations: 428.5 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.2603, allocations: 86.56 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.2605, allocations: 32.84 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.2605, allocations: 4 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.2607, allocations: 79.36 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.2608, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004801/0.2612, allocations: 129.4 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.2613, allocations: 55.34 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.2618, allocations: 362.9 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.2618, allocations: 33.7 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.2619, allocations: 140 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.262, allocations: 23.78 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.262, allocations: 0 / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.2621, allocations: 338.8 kB / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.2623, allocations: 47.98 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2625, allocations: 75.09 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.2626, allocations: 59.98 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2626, allocations: 3.938 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005033/0.2632, allocations: 198.6 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2632, allocations: 8 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2632, allocations: 0 / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.2632, allocations: 0 / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.2635, allocations: 27.92 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/0.2635, allocations: 0 / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.2637, allocations: 16.02 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.2637, allocations: 12 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001886/0.2639, allocations: 149.8 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.264, allocations: 27.67 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.2641, allocations: 21.75 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.2641, allocations: 3.984 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2641, allocations: 4 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2641, allocations: 0 / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.2644, allocations: 249.4 kB / 0.9853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2644, allocations: 0 / 0.9853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.2644, allocations: 7.984 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2645, allocations: 3.953 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2645, allocations: 4 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2645, allocations: 0 / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.2645, allocations: 0 / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.2648, allocations: 128.9 kB / 0.9854 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.2649, allocations: 108.8 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.265, allocations: 11.95 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2651, allocations: 11.98 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.2652, allocations: 7.984 kB / 0.9855 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.2652, allocations: 7.984 kB / 0.9856 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002869/0.2655, allocations: 225.9 kB / 0.9858 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2656, allocations: 0 / 0.9858 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003807/0.2659, allocations: 32.12 kB / 0.9858 GB, free: 20.37 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001253/0.2672, allocations: 433.3 kB / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.2677, allocations: 103.8 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2677, allocations: 0 / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2678, allocations: 39.91 kB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.2684, allocations: 51.66 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.2692, allocations: 408.5 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2695, allocations: 0.7518 MB / 0.9875 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.2696, allocations: 21.55 kB / 0.9875 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.2697, allocations: 23.42 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/0.2697, allocations: 0 / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.008591/0.2783, allocations: 2.56 MB / 0.9901 GB, free: 16.12 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)