Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.542/1.542, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.843/1.843, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001717/0.001717, allocations: 72.02 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2801, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.004236/0.2844, allocations: 1.957 MB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.2864, allocations: 1.023 MB / 0.7871 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.2867, allocations: 4 kB / 0.7871 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.2872, allocations: 111.5 kB / 0.7872 GB, free: 9.609 MB / 0.6075 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.0004099/0.2876, allocations: 99.58 kB / 0.7873 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.2882, allocations: 126.5 kB / 0.7874 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.2885, allocations: 207.5 kB / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.2888, allocations: 69.86 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.289, allocations: 87.62 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.2892, allocations: 103.5 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.2892, allocations: 16 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.2894, allocations: 67.97 kB / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-05/0.2895, allocations: 51.83 kB / 0.788 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.2896, allocations: 95.34 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.2901, allocations: 279.1 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2901, allocations: 0 / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2901, allocations: 0 / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.2901, allocations: 0 / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009678/0.2911, allocations: 0.5333 MB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2912, allocations: 12.03 kB / 0.7888 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.027e-05/0.2913, allocations: 28.56 kB / 0.7889 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.2918, allocations: 303.7 kB / 0.7892 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2918, allocations: 4.375 kB / 0.7892 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.2918, allocations: 15.94 kB / 0.7892 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.2921, allocations: 89.64 kB / 0.7893 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2921, allocations: 0 / 0.7893 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.2921, allocations: 8 kB / 0.7893 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2922, allocations: 4 kB / 0.7893 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.2923, allocations: 51.91 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/0.2931, allocations: 448.3 kB / 0.7898 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.2934, allocations: 86.61 kB / 0.7898 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.2935, allocations: 28.84 kB / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.2935, allocations: 0 / 0.7899 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.2937, allocations: 87.31 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.2937, allocations: 0 / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004133/0.2942, allocations: 129.5 kB / 0.7901 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.2942, allocations: 55.41 kB / 0.7901 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.2946, allocations: 370.8 kB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.2946, allocations: 29.7 kB / 0.7905 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2948, allocations: 140 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.2948, allocations: 19.8 kB / 0.7907 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.2949, allocations: 37.7 kB / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.295, allocations: 338.8 kB / 0.791 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2952, allocations: 59.88 kB / 0.7911 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.2953, allocations: 80.34 kB / 0.7912 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.2955, allocations: 96.67 kB / 0.7912 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2955, allocations: 4 kB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000374/0.2959, allocations: 189.2 kB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.2959, allocations: 4 kB / 0.7914 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2959, allocations: 4 kB / 0.7914 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.296, allocations: 4.031 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2961, allocations: 27.92 kB / 0.7915 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2961, allocations: 4 kB / 0.7915 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.2963, allocations: 15.92 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.2963, allocations: 8 kB / 0.7915 GB, free: 4.938 MB / 0.6075 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.0001841/0.2965, allocations: 160.8 kB / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.2965, allocations: 23.66 kB / 0.7917 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.96e-05/0.2966, allocations: 25.73 kB / 0.7917 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2966, allocations: 8 kB / 0.7917 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2967, allocations: 0 / 0.7917 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2967, allocations: 0 / 0.7917 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.297, allocations: 249.5 kB / 0.7919 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.297, allocations: 4 kB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.297, allocations: 3.938 kB / 0.7919 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.297, allocations: 4 kB / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.297, allocations: 0 / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.297, allocations: 3.938 kB / 0.792 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2971, allocations: 0 / 0.792 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.2973, allocations: 140.8 kB / 0.7921 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.2974, allocations: 100.8 kB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.2975, allocations: 0 / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.2976, allocations: 15.98 kB / 0.7922 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.2976, allocations: 7.984 kB / 0.7922 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2977, allocations: 8 kB / 0.7922 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003193/0.298, allocations: 233.9 kB / 0.7924 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.298, allocations: 4 kB / 0.7924 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003214/0.2983, allocations: 39.84 kB / 0.7925 GB, free: 3.836 MB / 0.6075 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.001224/0.2995, allocations: 410.6 kB / 0.7929 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.2999, allocations: 103.9 kB / 0.793 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2999, allocations: 0 / 0.793 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.681e-05/0.3, allocations: 31.98 kB / 0.793 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.3004, allocations: 71.77 kB / 0.7931 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.3013, allocations: 375.3 kB / 0.7934 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3017, allocations: 0.7476 MB / 0.7942 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.42e-05/0.3018, allocations: 37.94 kB / 0.7942 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.3019, allocations: 23.44 kB / 0.7942 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3019, allocations: 0 / 0.7942 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of Templates: time 0.007974/0.3098, allocations: 2.807 MB / 0.797 GB, free: 15.36 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)