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.929/2.929, allocations: 287.3 MB / 302.3 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.001584/0.001584, allocations: 181.1 kB / 370.8 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.132/2.132, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001187/0.001187, allocations: 94.78 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005205/0.0005206, allocations: 18.06 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2244, allocations: 115.3 MB / 0.9782 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002396/0.2269, allocations: 1.591 MB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.2288, allocations: 0.9379 MB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.229, allocations: 7.938 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.2294, allocations: 87.69 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.2297, allocations: 83.75 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.2302, allocations: 117.5 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.2305, allocations: 119.7 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.2306, allocations: 41.61 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.2308, allocations: 75.7 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.231, allocations: 75.67 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.231, allocations: 4 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.2312, allocations: 35.97 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.2312, allocations: 51.81 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.2313, allocations: 53.58 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2316, allocations: 211.8 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2316, allocations: 0 / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2317, allocations: 0 / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2317, allocations: 0 / 0.9816 GB, free: 24.84 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.001002/0.2327, allocations: 0.5078 MB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.2328, allocations: 15.97 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.2328, allocations: 23.67 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.2333, allocations: 286.5 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.2334, allocations: 11.94 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.2334, allocations: 4 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.2336, allocations: 87.02 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2337, allocations: 0 / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.2337, allocations: 4 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2337, allocations: 3.953 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.2339, allocations: 39.92 kB / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.2347, allocations: 432.6 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.235, allocations: 86.56 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.2351, allocations: 0 / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.2353, allocations: 83.5 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.2353, allocations: 0 / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004438/0.2358, allocations: 129.3 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.2358, allocations: 51.41 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/0.2363, allocations: 362.9 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2364, allocations: 25.7 kB / 0.9837 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2365, allocations: 151.9 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.2365, allocations: 15.8 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.2366, allocations: 4 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.2367, allocations: 338.8 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.2368, allocations: 51.98 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.237, allocations: 75.72 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2372, allocations: 51.98 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2372, allocations: 8 kB / 0.9843 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004444/0.2377, allocations: 193.2 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2377, allocations: 4 kB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2377, allocations: 0 / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2377, allocations: 7.984 kB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.2379, allocations: 19.94 kB / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.238, allocations: 3.938 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2382, allocations: 19.98 kB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.2382, allocations: 8.031 kB / 0.9846 GB, free: 21.57 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.0001758/0.2384, allocations: 157.8 kB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.2385, allocations: 23.67 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.2385, allocations: 29.73 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2385, allocations: 0 / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2386, allocations: 0 / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2386, allocations: 0 / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.2388, allocations: 245.4 kB / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2388, allocations: 4 kB / 0.985 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.2389, allocations: 7.938 kB / 0.985 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2389, allocations: 7.953 kB / 0.985 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.2389, allocations: 7.938 kB / 0.985 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2389, allocations: 0 / 0.985 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2389, allocations: 0 / 0.985 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.2392, allocations: 132.9 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.2393, allocations: 104.8 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.2394, allocations: 3.953 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.2395, allocations: 19.98 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.2396, allocations: 11.98 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2396, allocations: 3.984 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002921/0.2399, allocations: 225.9 kB / 0.9855 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.24, allocations: 0 / 0.9855 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003872/0.2403, allocations: 32 kB / 0.9856 GB, free: 20.48 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.001195/0.2416, allocations: 431.3 kB / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.2419, allocations: 107.9 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.242, allocations: 0 / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.2421, allocations: 31.94 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.2425, allocations: 46.16 kB / 0.9861 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007664/0.2433, allocations: 412.5 kB / 0.9865 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.2435, allocations: 0.7479 MB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.2437, allocations: 33.69 kB / 0.9873 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.2438, allocations: 19.42 kB / 0.9873 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.2438, allocations: 0 / 0.9873 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.008002/0.2518, allocations: 2.552 MB / 0.9898 GB, free: 16.24 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)