Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.924/0.924, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.784/1.784, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 3.984 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.701e-05, allocations: 3.094 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001302/0.001319, allocations: 0.8614 MB / 0.7885 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.002178, allocations: 0.9376 MB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.002267, allocations: 0 / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.002393, allocations: 25.64 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.429e-05/0.002428, allocations: 11.88 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.002607, allocations: 47.81 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.002708, allocations: 99.7 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.002819, allocations: 32.66 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.00297, allocations: 56.7 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.003026, allocations: 31.89 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.003043, allocations: 9.219 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.003088, allocations: 12 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.003111, allocations: 15.92 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.003139, allocations: 29.31 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003257, allocations: 71.67 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003258, allocations: 0 / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003259, allocations: 0 / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.003263, allocations: 1.062 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003618/0.003624, allocations: 424.2 kB / 0.7902 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.00366, allocations: 9.562 kB / 0.7902 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.003772, allocations: 24.83 kB / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.003903, allocations: 146.1 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.003913, allocations: 12.31 kB / 0.7904 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.003922, allocations: 4.375 kB / 0.7904 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.004036, allocations: 81.98 kB / 0.7905 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.004041, allocations: 0.8125 kB / 0.7905 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.00405, allocations: 5.281 kB / 0.7905 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.004056, allocations: 4.375 kB / 0.7905 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.54e-05/0.004091, allocations: 15.92 kB / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.004398, allocations: 309.7 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.084e-05/0.004479, allocations: 46.98 kB / 0.7908 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.004495, allocations: 17.44 kB / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.004511, allocations: 4.078 kB / 0.7909 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.00453, allocations: 33.39 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.004532, allocations: 0 / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001247/0.004657, allocations: 65.56 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.00468, allocations: 53.91 kB / 0.791 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.004756, allocations: 187.9 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.004772, allocations: 33.7 kB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.004823, allocations: 146.8 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.00484, allocations: 11.84 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.00487, allocations: 27.36 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.004975, allocations: 0.489 MB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.00499, allocations: 7.984 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.005004, allocations: 4.844 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.005046, allocations: 27.62 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005048, allocations: 4.469 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.217e-05/0.00511, allocations: 55.23 kB / 0.792 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.005122, allocations: 8 kB / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.005126, allocations: 0 / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.005135, allocations: 0 / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.005184, allocations: 8.516 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005187, allocations: 0 / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.005216, allocations: 13.3 kB / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.005221, allocations: 0 / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (5): * Single equations (assignments): 5 * 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 7.068e-05/0.005292, allocations: 173.6 kB / 0.7922 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.005309, allocations: 7.953 kB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.005333, allocations: 8.344 kB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005334, allocations: 5.312 kB / 0.7922 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.005336, allocations: 4 kB / 0.7922 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005339, allocations: 0 / 0.7922 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.77e-05/0.005437, allocations: 109.2 kB / 0.7923 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.005439, allocations: 5.75 kB / 0.7923 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.005463, allocations: 8 kB / 0.7923 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.005465, allocations: 3.938 kB / 0.7923 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.00547, allocations: 0 / 0.7923 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005472, allocations: 4.734 kB / 0.7923 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.005473, allocations: 4 kB / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.834e-05/0.005571, allocations: 193.6 kB / 0.7925 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.005583, allocations: 15.95 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.005601, allocations: 11.94 kB / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.082e-05/0.005642, allocations: 7.984 kB / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.00568, allocations: 12.86 kB / 0.7926 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.005682, allocations: 0 / 0.7926 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.005725, allocations: 145 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005725, allocations: 3.469 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001328/0.005858, allocations: 11.94 kB / 0.7927 GB, free: 6.688 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 7.138e-05/0.005929, allocations: 99.25 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.752e-05/0.005997, allocations: 27.67 kB / 0.7928 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.005998, allocations: 0 / 0.7928 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.006021, allocations: 19.62 kB / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.006198, allocations: 18.59 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.00658, allocations: 192.1 kB / 0.793 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.006615, allocations: 65.5 kB / 0.7931 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.006644, allocations: 4.328 kB / 0.7931 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.006706, allocations: 82.19 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.006707, allocations: 0.5312 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of Templates: time 0.002686/0.009393, allocations: 1.192 MB / 0.7944 GB, free: 4.973 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.806573265697807]