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.001557/0.001558, allocations: 102 kB / 16.27 MB, free: 6.414 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.001497/0.001497, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.478/1.478, allocations: 205.1 MB / 223.1 MB, free: 12.31 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 1.792/1.792, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001492/0.001492, allocations: 72.47 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2903, allocations: 114.5 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003905/0.2943, allocations: 1.945 MB / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2962, allocations: 1.035 MB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.2964, allocations: 7.938 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.2969, allocations: 103.6 kB / 0.7871 GB, free: 0.75 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.0003109/0.2972, allocations: 91.58 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.2976, allocations: 131.7 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.2979, allocations: 211.5 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.2981, allocations: 69.81 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.2983, allocations: 87.62 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2984, allocations: 95.59 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.2985, allocations: 12 kB / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5269/0.8253, allocations: 65.58 kB / 0.7878 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.8256, allocations: 52.55 kB / 0.7878 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.8257, allocations: 92.27 kB / 0.7879 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.8263, allocations: 282 kB / 0.7882 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.8263, allocations: 3.969 kB / 0.7882 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8263, allocations: 0 / 0.7882 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.8263, allocations: 0 / 0.7882 GB, free: 46.14 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009522/0.8273, allocations: 0.5327 MB / 0.7887 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8273, allocations: 9.5 kB / 0.7887 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.302e-05/0.8274, allocations: 22.38 kB / 0.7888 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.8278, allocations: 303.3 kB / 0.789 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.8278, allocations: 5.312 kB / 0.789 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.8278, allocations: 9.812 kB / 0.7891 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.828, allocations: 100.5 kB / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.828, allocations: 0 / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.8281, allocations: 5.781 kB / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.8281, allocations: 0.5938 kB / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.8282, allocations: 48.52 kB / 0.7892 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.8289, allocations: 460.2 kB / 0.7896 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.8291, allocations: 77.77 kB / 0.7897 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.8292, allocations: 28.41 kB / 0.7897 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.8292, allocations: 2.938 kB / 0.7897 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.8294, allocations: 79.78 kB / 0.7898 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.8294, allocations: 0 / 0.7898 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003131/0.8297, allocations: 135.2 kB / 0.79 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.8297, allocations: 53.19 kB / 0.79 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.8301, allocations: 370.1 kB / 0.7904 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.8301, allocations: 25.7 kB / 0.7904 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.8302, allocations: 141.7 kB / 0.7905 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.8302, allocations: 22.94 kB / 0.7905 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.8303, allocations: 44.59 kB / 0.7906 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.8304, allocations: 340 kB / 0.7909 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.8305, allocations: 57.19 kB / 0.791 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.8306, allocations: 77.75 kB / 0.791 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.8308, allocations: 95.17 kB / 0.7911 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8308, allocations: 0 / 0.7911 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000268/0.8311, allocations: 191.8 kB / 0.7913 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.8311, allocations: 12.16 kB / 0.7913 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.8311, allocations: 1.125 kB / 0.7913 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8311, allocations: 2.656 kB / 0.7913 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.8313, allocations: 28.23 kB / 0.7913 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.8313, allocations: 2.719 kB / 0.7914 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.8314, allocations: 11.7 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.8314, allocations: 13.41 kB / 0.7914 GB, free: 44.3 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.0001071/0.8315, allocations: 148.8 kB / 0.7915 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.8316, allocations: 23.52 kB / 0.7915 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.8316, allocations: 25.28 kB / 0.7916 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8316, allocations: 3.25 kB / 0.7916 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.8316, allocations: 0 / 0.7916 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.8316, allocations: 5.781 kB / 0.7916 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.8318, allocations: 255 kB / 0.7918 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8318, allocations: 0 / 0.7918 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.8319, allocations: 2.625 kB / 0.7918 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8319, allocations: 3.938 kB / 0.7918 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.8319, allocations: 10.39 kB / 0.7918 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.8319, allocations: 0 / 0.7918 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8319, allocations: 0 / 0.7918 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.8321, allocations: 133 kB / 0.792 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.8322, allocations: 97.89 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.8322, allocations: 7.281 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.8323, allocations: 16.33 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.8324, allocations: 12.05 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.8324, allocations: 2.344 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002029/0.8326, allocations: 238 kB / 0.7923 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8326, allocations: 1.281 kB / 0.7923 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002483/0.8328, allocations: 36.69 kB / 0.7924 GB, free: 43.71 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.001052/0.8339, allocations: 419.4 kB / 0.7928 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.8342, allocations: 104.3 kB / 0.7929 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8342, allocations: 1.906 kB / 0.7929 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.389e-05/0.8343, allocations: 29.39 kB / 0.7929 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.8346, allocations: 60.98 kB / 0.7929 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.8352, allocations: 419.9 kB / 0.7933 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.8355, allocations: 0.7486 MB / 0.7941 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.8355, allocations: 20.8 kB / 0.7941 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.8355, allocations: 0 / 0.7941 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.005643/0.8412, allocations: 3.081 MB / 0.7971 GB, free: 42.47 MB / 0.6544 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)