Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001157/0.001157, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00178/0.002937, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001146/0.001146, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002541, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9414/0.9414, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09146/1.033, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.427/2.427, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2916/2.719, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.451e-05, allocations: 4.562 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001434/0.001459, allocations: 0.8701 MB / 0.8192 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00099/0.002449, allocations: 0.9326 MB / 0.8201 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.002552, allocations: 4 kB / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.829e-05/0.00263, allocations: 15.81 kB / 0.8201 GB, free: 1 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.002666, allocations: 11.88 kB / 0.8202 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.00278, allocations: 35.83 kB / 0.8202 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.002898, allocations: 75.78 kB / 0.8203 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.003016, allocations: 31.91 kB / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.003179, allocations: 51.83 kB / 0.8203 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.00333, allocations: 27.89 kB / 0.8204 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.003347, allocations: 7.938 kB / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.003412, allocations: 12 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.003427, allocations: 11.94 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.003448, allocations: 16 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.003571, allocations: 43.78 kB / 0.8205 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.003586, allocations: 0 / 0.8205 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003587, allocations: 0 / 0.8205 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.0036, allocations: 0 / 0.8205 GB, free: 0.6797 MB / 0.7917 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.0004043/0.004004, allocations: 308.2 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.004033, allocations: 8.031 kB / 0.8208 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.004176, allocations: 94.03 kB / 0.8208 GB, free: 240 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.004318, allocations: 143.9 kB / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.004327, allocations: 4.312 kB / 0.821 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.004336, allocations: 4.375 kB / 0.821 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.00444, allocations: 62.94 kB / 0.821 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.004447, allocations: 4.188 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.004453, allocations: 384 / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004458, allocations: 384 / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.004486, allocations: 15.92 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.004714, allocations: 180.2 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.016e-05/0.004784, allocations: 34.55 kB / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.103e-05/0.004795, allocations: 4.953 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.004809, allocations: 7.938 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.00483, allocations: 38.5 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.004831, allocations: 4 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001076/0.004939, allocations: 45.77 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.004965, allocations: 51.41 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.785e-05/0.005033, allocations: 134.6 kB / 0.8215 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.00505, allocations: 25.7 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.005086, allocations: 92.12 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.005102, allocations: 11.94 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.00513, allocations: 13.72 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.005201, allocations: 318.8 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.005213, allocations: 7.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-06/0.005223, allocations: 4 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.005403, allocations: 24.78 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.005405, allocations: 4 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.256e-05/0.005458, allocations: 37.69 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.005473, allocations: 11.94 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.005479, allocations: 0 / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.00549, allocations: 0 / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.005556, allocations: 4 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.00556, allocations: 3.938 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.005589, allocations: 15.88 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.005594, allocations: 0 / 0.8221 GB, free: 14.82 MB / 0.8073 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 7.055e-05/0.005664, allocations: 117.8 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.005679, allocations: 8.266 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.005702, allocations: 12.33 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.005704, allocations: 3.984 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005706, allocations: 0 / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005709, allocations: 0 / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.913e-05/0.005808, allocations: 81.88 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.00581, allocations: 0 / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.005832, allocations: 4 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.005843, allocations: 11.94 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.005843, allocations: 4 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.005849, allocations: 3.938 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.005851, allocations: 0 / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.005852, allocations: 0 / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.38e-05/0.005946, allocations: 139.5 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.005962, allocations: 0 / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.006, allocations: 15.92 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.006041, allocations: 11.98 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.006045, allocations: 0 / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.389e-05/0.006069, allocations: 27.33 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006069, allocations: 4 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001198/0.006188, allocations: 8 kB / 0.8225 GB, free: 14.33 MB / 0.8073 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 9.911e-05/0.006288, allocations: 84.41 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.611e-05/0.006354, allocations: 16.86 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.006357, allocations: 0 / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.896e-05/0.006376, allocations: 16.78 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.006533, allocations: 18 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.007227, allocations: 180.1 kB / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.007261, allocations: 63.34 kB / 0.8229 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.00729, allocations: 0 / 0.8229 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.007343, allocations: 63.36 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.007344, allocations: 0 / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of Templates: time 0.002558/0.009901, allocations: 0.9971 MB / 0.8239 GB, free: 12.86 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.ref.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.247359810397029]