Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 120.1 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.88 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3266, allocations: 160.7 MB / 1.214 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002194/0.3288, allocations: 0.819 MB / 1.215 GB, free: 116 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3299, allocations: 0.8702 MB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.803e-05/0.33, allocations: 7.938 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.3301, allocations: 11.86 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.088e-05/0.3302, allocations: 15.86 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.3304, allocations: 27.97 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3305, allocations: 75.72 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3306, allocations: 19.98 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.3307, allocations: 27.91 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.3308, allocations: 35.78 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.3308, allocations: 8 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.3308, allocations: 4 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.3309, allocations: 11.94 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.3309, allocations: 31.8 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3311, allocations: 87.55 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3311, allocations: 0 / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3311, allocations: 4 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3311, allocations: 0 / 1.216 GB, free: 14.87 MB / 0.9669 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.000615/0.3317, allocations: 383.1 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3317, allocations: 8.031 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.3318, allocations: 16.88 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3321, allocations: 209.9 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3321, allocations: 4.375 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.3321, allocations: 12.31 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3323, allocations: 62.17 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3323, allocations: 192 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3323, allocations: 3.938 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3323, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3324, allocations: 39.97 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.3329, allocations: 312.7 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.3331, allocations: 50.55 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.3331, allocations: 12.92 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3332, allocations: 4.031 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.3332, allocations: 42.64 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3332, allocations: 0 / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002742/0.3335, allocations: 69.81 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3335, allocations: 55.41 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3336, allocations: 135.7 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3337, allocations: 29.64 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.3337, allocations: 100.1 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.3338, allocations: 11.95 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.3338, allocations: 17.72 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3339, allocations: 322.8 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.334, allocations: 15.98 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.334, allocations: 19.92 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.175e-05/0.3341, allocations: 32.84 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3341, allocations: 0 / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.3343, allocations: 65.62 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3343, allocations: 12 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3343, allocations: 0 / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3343, allocations: 0 / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.3344, allocations: 7.984 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3344, allocations: 0 / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.3345, allocations: 4 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3345, allocations: 7.984 kB / 1.218 GB, free: 12.62 MB / 0.9669 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 9.638e-05/0.3346, allocations: 121.7 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3346, allocations: 7.953 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.3346, allocations: 12.25 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3346, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.3346, allocations: 3.938 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3346, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.3349, allocations: 185.6 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3349, allocations: 4 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.3349, allocations: 3.984 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3349, allocations: 4 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3349, allocations: 0 / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3349, allocations: 8 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3349, allocations: 0 / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.3351, allocations: 159.4 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3352, allocations: 85 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.3352, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3353, allocations: 7.984 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.3353, allocations: 11.98 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/0.3353, allocations: 4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.633e-05/0.3354, allocations: 113.2 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3354, allocations: 0 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002244/0.3356, allocations: 11.94 kB / 1.219 GB, free: 11.79 MB / 0.9669 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.0001577/0.3358, allocations: 102.1 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.336, allocations: 35.97 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.336, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.336, allocations: 20.22 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.3363, allocations: 9.891 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.3367, allocations: 212 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.337, allocations: 0.6963 MB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.3371, allocations: 11.44 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of SimCode: time 6.32e-07/0.3371, allocations: 4 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of Templates: time 0.002773/0.3399, allocations: 0.9718 MB / 1.221 GB, free: 9.668 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.303332831012085]