Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 108.3 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002487/0.002487, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.096/2.096, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 71.91 kB / 0.6722 GB, free: 6.461 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2599, allocations: 114.6 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.00442/0.2643, allocations: 1.916 MB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2665, allocations: 1.023 MB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.2667, allocations: 7.938 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.2672, allocations: 103.6 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.2677, allocations: 95.58 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.2682, allocations: 127.6 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.2686, allocations: 207.4 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2688, allocations: 41.67 kB / 0.7875 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.2691, allocations: 95.55 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.2693, allocations: 87.67 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.2693, allocations: 8 kB / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5563/0.8256, allocations: 68.05 kB / 0.7878 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.8258, allocations: 51.77 kB / 0.7878 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.826, allocations: 80.09 kB / 0.7879 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.8264, allocations: 281.1 kB / 0.7882 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8264, allocations: 0.7188 kB / 0.7882 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8264, allocations: 5.094 kB / 0.7882 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.8264, allocations: 0 / 0.7882 GB, free: 46.07 MB / 0.6544 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.0007519/0.8272, allocations: 0.524 MB / 0.7887 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.8273, allocations: 8.688 kB / 0.7887 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.8273, allocations: 24.84 kB / 0.7887 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.8276, allocations: 305 kB / 0.789 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.8277, allocations: 3.375 kB / 0.789 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.8277, allocations: 7.219 kB / 0.789 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.8279, allocations: 88.48 kB / 0.7891 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.8279, allocations: 3.938 kB / 0.7891 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.8279, allocations: 1.438 kB / 0.7891 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.8279, allocations: 4.625 kB / 0.7891 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.828, allocations: 42.94 kB / 0.7891 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.8286, allocations: 417.1 kB / 0.7895 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.8288, allocations: 82.25 kB / 0.7896 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.8289, allocations: 31.77 kB / 0.7897 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.8289, allocations: 0 / 0.7897 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.8291, allocations: 83.67 kB / 0.7897 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.8291, allocations: 0 / 0.7897 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003076/0.8294, allocations: 129.1 kB / 0.7899 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.8294, allocations: 59.81 kB / 0.7899 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.8297, allocations: 367.8 kB / 0.7903 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.8298, allocations: 30.73 kB / 0.7903 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.8298, allocations: 135.6 kB / 0.7904 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.8299, allocations: 20.08 kB / 0.7904 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.8299, allocations: 42.67 kB / 0.7905 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.83, allocations: 334.3 kB / 0.7908 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/0.8301, allocations: 54.75 kB / 0.7909 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.8302, allocations: 82.28 kB / 0.7909 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.8304, allocations: 93.02 kB / 0.791 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8304, allocations: 0 / 0.791 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002745/0.8307, allocations: 196.1 kB / 0.7912 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.8307, allocations: 5.25 kB / 0.7912 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.8307, allocations: 0 / 0.7912 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.8308, allocations: 7.266 kB / 0.7912 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.8309, allocations: 18.38 kB / 0.7912 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8309, allocations: 7.172 kB / 0.7912 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.831, allocations: 23.06 kB / 0.7913 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.831, allocations: 5.25 kB / 0.7913 GB, free: 44.24 MB / 0.6544 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 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.8312, allocations: 150 kB / 0.7914 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.8312, allocations: 22.22 kB / 0.7914 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.8312, allocations: 29.02 kB / 0.7915 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8313, allocations: 4.219 kB / 0.7915 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.8313, allocations: 3.938 kB / 0.7915 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8313, allocations: 4.141 kB / 0.7915 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.8315, allocations: 246.8 kB / 0.7917 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8315, allocations: 0 / 0.7917 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.8315, allocations: 7.438 kB / 0.7917 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.8315, allocations: 2.625 kB / 0.7917 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.8315, allocations: 4.641 kB / 0.7917 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8315, allocations: 2.438 kB / 0.7917 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8315, allocations: 3.938 kB / 0.7917 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.8317, allocations: 137.6 kB / 0.7919 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.8318, allocations: 96.92 kB / 0.792 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/0.8319, allocations: 6.094 kB / 0.792 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.8319, allocations: 7.25 kB / 0.792 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.832, allocations: 17.8 kB / 0.792 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.832, allocations: 3.344 kB / 0.792 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001835/0.8322, allocations: 228.2 kB / 0.7922 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8322, allocations: 1.375 kB / 0.7922 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002558/0.8325, allocations: 43.09 kB / 0.7922 GB, free: 43.64 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.8336, allocations: 414.4 kB / 0.7926 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.8339, allocations: 119 kB / 0.7928 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8339, allocations: 3.453 kB / 0.7928 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.834, allocations: 32.98 kB / 0.7928 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.8343, allocations: 58.39 kB / 0.7928 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.8349, allocations: 362.5 kB / 0.7932 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.8351, allocations: 0.7485 MB / 0.7939 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.256e-05/0.8352, allocations: 25.31 kB / 0.7939 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.8353, allocations: 21.88 kB / 0.794 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.8353, allocations: 3.375 kB / 0.794 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.006528/0.8418, allocations: 2.81 MB / 0.7967 GB, free: 42.51 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)