Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.00101/0.00101, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001137/0.001137, allocations: 175.8 kB / 24.87 MB, free: 8.355 MB / 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.987/0.987, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.918/1.918, allocations: 359 MB / 0.6063 GB, free: 10.88 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.769e-05, allocations: 11.09 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001557/0.001584, allocations: 0.8215 MB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.002476, allocations: 0.9326 MB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.002552, allocations: 5 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.302e-05/0.002645, allocations: 15.8 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.00268, allocations: 12.44 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.002835, allocations: 36.8 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.002918, allocations: 71.78 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.003007, allocations: 20.64 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.003119, allocations: 52.89 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.003177, allocations: 19.92 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.003193, allocations: 4 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.598e-05/0.003229, allocations: 9.625 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.003246, allocations: 19.91 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.003267, allocations: 19.92 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.003374, allocations: 47.77 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003376, allocations: 1.219 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.003377, allocations: 0 / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003381, allocations: 4 kB / 0.7904 GB, free: 10.06 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003113/0.003692, allocations: 405 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.003721, allocations: 8.031 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.003815, allocations: 22.47 kB / 0.7908 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.003946, allocations: 156.4 kB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.003953, allocations: 3.906 kB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-06/0.00396, allocations: 4.375 kB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.842e-05/0.004038, allocations: 62.94 kB / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.004044, allocations: 192 / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.00405, allocations: 384 / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.004053, allocations: 384 / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.00408, allocations: 23.8 kB / 0.7911 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.004344, allocations: 276.3 kB / 0.7913 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/0.004414, allocations: 43.8 kB / 0.7914 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.00443, allocations: 13.41 kB / 0.7914 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.00444, allocations: 0 / 0.7914 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.004459, allocations: 37.42 kB / 0.7914 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.00446, allocations: 4 kB / 0.7914 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001117/0.004572, allocations: 54.53 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.004606, allocations: 55.34 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.004693, allocations: 187.8 kB / 0.7917 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.004707, allocations: 30.73 kB / 0.7917 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.004765, allocations: 146.8 kB / 0.7919 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.004779, allocations: 3.953 kB / 0.7919 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.004809, allocations: 28.7 kB / 0.7919 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.004916, allocations: 0.4884 MB / 0.7924 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.004927, allocations: 4 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/0.004937, allocations: 0.8125 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.004964, allocations: 23.66 kB / 0.7924 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004966, allocations: 1.125 kB / 0.7924 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.446e-05/0.00502, allocations: 53.84 kB / 0.7925 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.005032, allocations: 8 kB / 0.7925 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005036, allocations: 0.9375 kB / 0.7925 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/0.005042, allocations: 0 / 0.7925 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.382e-05/0.005075, allocations: 4.047 kB / 0.7925 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.005077, allocations: 1.656 kB / 0.7925 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.005104, allocations: 15.92 kB / 0.7925 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.005109, allocations: 4 kB / 0.7925 GB, free: 7.738 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 (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 prepare postOptimizeDAE: time 6.196e-05/0.005171, allocations: 157.2 kB / 0.7927 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.005189, allocations: 12.58 kB / 0.7927 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.005209, allocations: 12.34 kB / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.00521, allocations: 0.6562 kB / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005212, allocations: 0 / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.005214, allocations: 1.031 kB / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.494e-05/0.005309, allocations: 113.2 kB / 0.7928 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.00531, allocations: 0 / 0.7928 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.005322, allocations: 0.5312 kB / 0.7928 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.005324, allocations: 9.281 kB / 0.7928 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.005328, allocations: 0 / 0.7928 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.005329, allocations: 3.938 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.00533, allocations: 0 / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.295e-05/0.005423, allocations: 197 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.005438, allocations: 7.984 kB / 0.793 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.005455, allocations: 0 / 0.793 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.005501, allocations: 8.469 kB / 0.793 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.005548, allocations: 12.83 kB / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.005551, allocations: 0 / 0.793 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.443e-05/0.005625, allocations: 146 kB / 0.7932 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005625, allocations: 0 / 0.7932 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001553/0.00578, allocations: 15.89 kB / 0.7932 GB, free: 7.004 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 (3): * Single equations (assignments): 3 * 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 0.0001317/0.005912, allocations: 100.2 kB / 0.7933 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.174e-05/0.005974, allocations: 24.83 kB / 0.7933 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005975, allocations: 0 / 0.7933 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/0.005997, allocations: 15.69 kB / 0.7933 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.006175, allocations: 14.55 kB / 0.7933 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.006592, allocations: 176 kB / 0.7935 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.282e-05/0.006635, allocations: 59.34 kB / 0.7935 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.006665, allocations: 6.969 kB / 0.7935 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.006734, allocations: 82.12 kB / 0.7936 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/0.006735, allocations: 0 / 0.7936 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of Templates: time 0.002804/0.009539, allocations: 1.027 MB / 0.7946 GB, free: 5.48 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.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: 5.107658707071096]