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.001511/0.001511, allocations: 79.28 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001451/0.001451, allocations: 158 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.478/1.478, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.773/2.773, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 63.89 kB / 0.9516 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3603, allocations: 169.9 MB / 1.118 GB, free: 2.492 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002186/0.3625, allocations: 0.791 MB / 1.118 GB, free: 1.707 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3637, allocations: 0.9016 MB / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.3638, allocations: 7.938 kB / 1.119 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.3639, allocations: 15.86 kB / 1.119 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.826e-05/0.364, allocations: 11.88 kB / 1.119 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.3642, allocations: 31.89 kB / 1.119 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3643, allocations: 75.78 kB / 1.119 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3644, allocations: 35.91 kB / 1.119 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3645, allocations: 39.84 kB / 1.119 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.3646, allocations: 31.78 kB / 1.119 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3646, allocations: 4 kB / 1.119 GB, free: 0.543 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.299e-05/0.3647, allocations: 8 kB / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.3647, allocations: 12 kB / 1.119 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.3647, allocations: 27.8 kB / 1.119 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3649, allocations: 83.67 kB / 1.12 GB, free: 424 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3649, allocations: 0 / 1.12 GB, free: 424 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3649, allocations: 3.938 kB / 1.12 GB, free: 420 kB / 1.061 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3649, allocations: 4 kB / 1.12 GB, free: 416 kB / 1.061 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.0005646/0.3655, allocations: 310 kB / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.3655, allocations: 12.03 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.3657, allocations: 20.84 kB / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.366, allocations: 146.3 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.366, allocations: 4.375 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.366, allocations: 4.375 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3662, allocations: 74.16 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3662, allocations: 192 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3662, allocations: 7.922 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3662, allocations: 0 / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3663, allocations: 31.98 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.3668, allocations: 256.3 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3669, allocations: 50.55 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.367, allocations: 16.92 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.367, allocations: 0 / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.367, allocations: 30.56 kB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.367, allocations: 4 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002495/0.3673, allocations: 81.73 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3673, allocations: 51.41 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3674, allocations: 136.6 kB / 1.121 GB, free: 15.05 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3674, allocations: 25.7 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.3675, allocations: 104.1 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3675, allocations: 3.953 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.3676, allocations: 17.72 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3677, allocations: 326.8 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.3678, allocations: 12 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.3678, allocations: 15.98 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.3679, allocations: 24.84 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3679, allocations: 0 / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001415/0.368, allocations: 73.56 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.368, allocations: 8 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.368, allocations: 0 / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3681, allocations: 4 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.3681, allocations: 0 / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3681, allocations: 4 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.3682, allocations: 15.92 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.3682, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 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.642e-05/0.3683, allocations: 125.8 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.3683, allocations: 3.953 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.3684, allocations: 20.28 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3684, allocations: 0 / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3684, allocations: 0 / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3684, allocations: 0 / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3685, allocations: 129.2 kB / 1.122 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3685, allocations: 0 / 1.122 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.3686, allocations: 7.938 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3686, allocations: 0 / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3686, allocations: 11.92 kB / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3686, allocations: 0 / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3686, allocations: 0 / 1.122 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3688, allocations: 171.7 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.3688, allocations: 3.953 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3688, allocations: 4 kB / 1.122 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3689, allocations: 7.984 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.3689, allocations: 11.98 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3689, allocations: 0 / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.548e-05/0.369, allocations: 103.3 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.369, allocations: 0 / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002353/0.3693, allocations: 8 kB / 1.122 GB, free: 13.74 MB / 1.076 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.0001144/0.3694, allocations: 103.2 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.3695, allocations: 35.92 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3695, allocations: 0 / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.3696, allocations: 15.98 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.3698, allocations: 11.94 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.3702, allocations: 166.6 kB / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.66e-05/0.3703, allocations: 79.33 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.3703, allocations: 3.984 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.3703, allocations: 12.5 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.3703, allocations: 0 / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of Templates: time 0.003503/0.3738, allocations: 0.9028 MB / 1.123 GB, free: 12.38 MB / 1.076 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.786911570001394]