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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.4 MB / 303.4 MB, free: 8.199 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.001177/0.001177, allocations: 182.6 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.843/1.843, 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.0009061/0.000906, allocations: 102.3 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004622, allocations: 13.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2353, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002637/0.238, allocations: 1.587 MB / 0.9812 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2396, allocations: 0.9493 MB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.2399, allocations: 7.938 kB / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.2403, allocations: 99.67 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.2406, allocations: 75.72 kB / 0.9823 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.2409, allocations: 101.8 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.2412, allocations: 171.5 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.2414, allocations: 33.67 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.2416, allocations: 71.62 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.2417, allocations: 79.59 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.2417, allocations: 4 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.2419, allocations: 47.98 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.242, allocations: 55.75 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.242, allocations: 53.58 kB / 0.9829 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.2423, allocations: 207.8 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2423, allocations: 0 / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2423, allocations: 4 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2423, allocations: 0 / 0.9831 GB, free: 24.1 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.0007848/0.2431, allocations: 0.5021 MB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2431, allocations: 8.031 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.2432, allocations: 35.67 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.2436, allocations: 290.4 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2436, allocations: 4 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.2436, allocations: 4 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.2438, allocations: 85.66 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2438, allocations: 0 / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2439, allocations: 7.938 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2439, allocations: 4 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.244, allocations: 47.86 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.2446, allocations: 416.6 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.2448, allocations: 94.59 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.2449, allocations: 28.81 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.245, allocations: 0 / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.2451, allocations: 83.34 kB / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2451, allocations: 0 / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003459/0.2455, allocations: 133.3 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.2455, allocations: 51.41 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.2458, allocations: 366.9 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2459, allocations: 29.69 kB / 0.9852 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.2459, allocations: 136 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.246, allocations: 23.78 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.246, allocations: 4 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.2461, allocations: 334.8 kB / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.73e-05/0.2462, allocations: 55.98 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2463, allocations: 79.08 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.2464, allocations: 52 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2464, allocations: 0 / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002812/0.2467, allocations: 203 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2467, allocations: 7.938 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2467, allocations: 0 / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2467, allocations: 4.031 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2469, allocations: 23.98 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2469, allocations: 3.938 kB / 0.986 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.247, allocations: 16 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.247, allocations: 7.984 kB / 0.9861 GB, free: 20.79 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.0001177/0.2472, allocations: 156.8 kB / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.2472, allocations: 23.67 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.2472, allocations: 29.73 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2473, allocations: 4 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2473, allocations: 0 / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2473, allocations: 0 / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.2474, allocations: 245.4 kB / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2474, allocations: 0 / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.2475, allocations: 4 kB / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2475, allocations: 0 / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2475, allocations: 15.95 kB / 0.9865 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2475, allocations: 0 / 0.9865 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2475, allocations: 7.938 kB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.2477, allocations: 128.8 kB / 0.9867 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.2478, allocations: 104.8 kB / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.2478, allocations: 0 / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.2479, allocations: 19.94 kB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.248, allocations: 11.97 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.248, allocations: 8 kB / 0.9868 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001889/0.2482, allocations: 225.9 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2482, allocations: 0 / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002424/0.2484, allocations: 36.11 kB / 0.987 GB, free: 19.7 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.0009283/0.2494, allocations: 427.9 kB / 0.9874 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.2496, allocations: 107.8 kB / 0.9876 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2497, allocations: 8.062 kB / 0.9876 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.2497, allocations: 31.92 kB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.2501, allocations: 44.86 kB / 0.9876 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.2506, allocations: 404.5 kB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.2508, allocations: 0.7479 MB / 0.9887 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.965e-05/0.2509, allocations: 33.67 kB / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.251, allocations: 19.44 kB / 0.9888 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.251, allocations: 0 / 0.9888 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.005597/0.2566, allocations: 2.554 MB / 0.9913 GB, free: 15.45 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)