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 1.822/1.822, allocations: 287.5 MB / 302.6 MB, free: 8.262 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.001056/0.001057, allocations: 187 kB / 371.2 MB, free: 10.82 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.798/1.798, allocations: 205.4 MB / 0.6298 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.000731/0.0007311, allocations: 104.8 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 13.59 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.234, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001906/0.236, allocations: 1.59 MB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2373, allocations: 0.9465 MB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2374, allocations: 11.94 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.2378, allocations: 99.69 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.238, allocations: 67.73 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.2383, allocations: 100.4 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.2385, allocations: 179.4 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.2387, allocations: 41.67 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.2388, allocations: 71.62 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.2389, allocations: 71.67 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.239, allocations: 7.938 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2391, allocations: 51.98 kB / 0.9818 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.2392, allocations: 51.81 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.2392, allocations: 53.58 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.2395, allocations: 215.7 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2395, allocations: 0 / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.876e-06/0.2395, allocations: 7.938 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2395, allocations: 0 / 0.9822 GB, free: 24.59 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.0007208/0.2402, allocations: 0.4907 MB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2403, allocations: 12.03 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.2403, allocations: 24.59 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.2407, allocations: 311.6 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.2407, allocations: 12.38 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.2407, allocations: 7.938 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.2409, allocations: 78.78 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2409, allocations: 0 / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2409, allocations: 4 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.241, allocations: 4 kB / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.2411, allocations: 39.97 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.2417, allocations: 424.5 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.2419, allocations: 86.66 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.2419, allocations: 32.78 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.242, allocations: 3.984 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.2421, allocations: 87.36 kB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2421, allocations: 0 / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002954/0.2424, allocations: 125.3 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2425, allocations: 55.39 kB / 0.9839 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.2428, allocations: 362.9 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2429, allocations: 25.7 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.2429, allocations: 140 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.243, allocations: 19.8 kB / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.243, allocations: 8 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.2431, allocations: 334.8 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.2432, allocations: 59.97 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2433, allocations: 76.34 kB / 0.9849 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2435, allocations: 87.25 kB / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2435, allocations: 0 / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000262/0.2437, allocations: 197.2 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2438, allocations: 8 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2438, allocations: 0 / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2438, allocations: 3.938 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2439, allocations: 31.92 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2439, allocations: 3.938 kB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.244, allocations: 11.91 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.2441, allocations: 11.98 kB / 0.9852 GB, free: 21.24 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.0001204/0.2442, allocations: 157.8 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.2442, allocations: 23.72 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.2443, allocations: 25.73 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2443, allocations: 7.875 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2443, allocations: 0 / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2443, allocations: 0 / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.2445, allocations: 245.6 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2445, allocations: 0 / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.2445, allocations: 7.938 kB / 0.9857 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2445, allocations: 4 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2445, allocations: 0 / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2445, allocations: 7.938 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2445, allocations: 0 / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.2447, allocations: 136.8 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.2448, allocations: 96.83 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.2448, allocations: 8 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.2449, allocations: 19.92 kB / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.245, allocations: 11.97 kB / 0.9859 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.245, allocations: 4 kB / 0.9859 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001678/0.2452, allocations: 225.9 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2452, allocations: 0 / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002252/0.2454, allocations: 40.11 kB / 0.9862 GB, free: 20.14 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.0009512/0.2464, allocations: 432.9 kB / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.2466, allocations: 99.95 kB / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2467, allocations: 0 / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.2467, allocations: 31.92 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2471, allocations: 42.17 kB / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.2476, allocations: 412.6 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.2478, allocations: 0.7479 MB / 0.9879 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.742e-05/0.2479, allocations: 29.69 kB / 0.9879 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.2479, allocations: 23.42 kB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2479, allocations: 0 / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.005088/0.253, allocations: 2.559 MB / 0.9904 GB, free: 15.9 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)