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.916/1.916, allocations: 288.3 MB / 303.2 MB, free: 8.277 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.001459/0.001459, allocations: 183.8 kB / 371.8 MB, free: 10.26 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.782/1.782, allocations: 205.4 MB / 0.6306 GB, free: 9.941 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.001081/0.001081, allocations: 94.97 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003843, allocations: 18.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2582, allocations: 115.3 MB / 0.9794 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002159/0.2604, allocations: 1.591 MB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.2618, allocations: 0.9338 MB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.262, allocations: 11.94 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.2625, allocations: 87.69 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.2628, allocations: 87.69 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.2632, allocations: 105.9 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.2634, allocations: 123.7 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.2636, allocations: 37.64 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.2637, allocations: 79.67 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2638, allocations: 71.69 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.2639, allocations: 4 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.264, allocations: 39.91 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.2641, allocations: 51.81 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.2642, allocations: 53.58 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.2645, allocations: 203.8 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2645, allocations: 4 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2645, allocations: 0 / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.2645, allocations: 0 / 0.9828 GB, free: 24.15 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.001001/0.2655, allocations: 0.5146 MB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.2656, allocations: 12.03 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.2656, allocations: 23.67 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.2661, allocations: 286.5 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.2661, allocations: 8 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.2661, allocations: 4 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.2664, allocations: 81.64 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2664, allocations: 0 / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2664, allocations: 7.938 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2664, allocations: 0 / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2666, allocations: 39.94 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006871/0.2673, allocations: 428.6 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.2675, allocations: 86.61 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.2675, allocations: 3.953 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.2677, allocations: 83.48 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.2677, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003518/0.2681, allocations: 129.3 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2681, allocations: 51.41 kB / 0.9845 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.2685, allocations: 366.9 kB / 0.9849 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2685, allocations: 29.69 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.2686, allocations: 140 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2686, allocations: 19.78 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.2686, allocations: 4 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.2687, allocations: 342.8 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.2688, allocations: 51.98 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.2689, allocations: 83.55 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.671e-05/0.2691, allocations: 54.53 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2691, allocations: 0 / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002887/0.2694, allocations: 197.2 kB / 0.9857 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.2694, allocations: 4 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.2694, allocations: 3.938 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.2694, allocations: 4 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.2696, allocations: 27.92 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2696, allocations: 8.031 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.2697, allocations: 8 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.2698, allocations: 7.984 kB / 0.9858 GB, free: 20.88 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.0001619/0.2699, allocations: 154.6 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.27, allocations: 23.67 kB / 0.986 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.27, allocations: 29.73 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.27, allocations: 0 / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2701, allocations: 4 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2701, allocations: 0 / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.2703, allocations: 249.4 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2703, allocations: 0 / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.2704, allocations: 7.938 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2704, allocations: 0 / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2704, allocations: 11.94 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2704, allocations: 0 / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2704, allocations: 0 / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.2706, allocations: 132.9 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.2707, allocations: 100.8 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.2707, allocations: 0 / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.2708, allocations: 19.94 kB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.2709, allocations: 15.97 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2709, allocations: 0 / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001764/0.2711, allocations: 225.9 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2711, allocations: 0 / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002688/0.2714, allocations: 43.98 kB / 0.9868 GB, free: 19.78 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.001116/0.2725, allocations: 423.6 kB / 0.9872 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.2728, allocations: 107.9 kB / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2728, allocations: 0 / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.2729, allocations: 31.92 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2732, allocations: 54.75 kB / 0.9874 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.2738, allocations: 404.5 kB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.274, allocations: 0.7518 MB / 0.9885 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.12e-05/0.2741, allocations: 29.53 kB / 0.9885 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.2742, allocations: 19.44 kB / 0.9885 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2742, allocations: 0 / 0.9885 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.005656/0.2798, allocations: 2.562 MB / 0.991 GB, free: 15.53 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)