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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01236/0.01236, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 195 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 151.6 MB / 1.167 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001931/1.107, allocations: 0.8169 MB / 1.167 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001032/1.108, allocations: 0.8726 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/1.108, allocations: 7.938 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/1.108, allocations: 11.88 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/1.108, allocations: 15.86 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/1.108, allocations: 27.91 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/1.108, allocations: 75.78 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/1.108, allocations: 31.98 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/1.109, allocations: 31.84 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/1.109, allocations: 31.84 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/1.109, allocations: 4 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/1.109, allocations: 11.94 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/1.109, allocations: 11.94 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/1.109, allocations: 31.8 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/1.109, allocations: 76.66 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.109, allocations: 4 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.275e-06/1.109, allocations: 4 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.109, allocations: 0 / 1.169 GB, free: 1.883 MB / 0.8887 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.0005353/1.109, allocations: 387.1 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/1.11, allocations: 8.031 kB / 1.169 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/1.11, allocations: 8.891 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/1.11, allocations: 208.2 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/1.11, allocations: 8.312 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/1.11, allocations: 4.375 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/1.11, allocations: 62.23 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.11, allocations: 192 / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.11, allocations: 11.86 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.11, allocations: 0 / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/1.11, allocations: 35.97 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/1.111, allocations: 320.7 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/1.111, allocations: 46.64 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/1.111, allocations: 28.88 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/1.111, allocations: 0 / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/1.111, allocations: 38.56 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/1.111, allocations: 0 / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002367/1.111, allocations: 73.62 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.111, allocations: 51.41 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/1.111, allocations: 132.5 kB / 1.17 GB, free: 304 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.111, allocations: 29.7 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/1.111, allocations: 100.1 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/1.111, allocations: 3.953 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/1.111, allocations: 21.72 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.112, allocations: 322.8 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/1.112, allocations: 19.92 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/1.112, allocations: 16 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/1.112, allocations: 32.84 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.112, allocations: 3.984 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001229/1.112, allocations: 61.64 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/1.112, allocations: 12 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.112, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.112, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/1.112, allocations: 7.984 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/1.112, allocations: 3.938 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/1.112, allocations: 11.98 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/1.112, allocations: 0 / 1.171 GB, free: 15.63 MB / 0.9044 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 8.363e-05/1.112, allocations: 117.8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/1.112, allocations: 11.95 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/1.112, allocations: 8.25 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.112, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.112, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/1.112, allocations: 3.984 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/1.113, allocations: 189.6 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.113, allocations: 3.938 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/1.113, allocations: 4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.113, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/1.113, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.113, allocations: 4 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.113, allocations: 336 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/1.113, allocations: 167.3 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/1.113, allocations: 89.05 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/1.113, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/1.113, allocations: 7.984 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/1.113, allocations: 11.98 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/1.113, allocations: 11.94 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.419e-05/1.113, allocations: 99.27 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9.1e-08/1.113, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002115/1.113, allocations: 15.88 kB / 1.171 GB, free: 14.79 MB / 0.9044 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.0001269/1.113, allocations: 99.25 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001452/1.114, allocations: 35.97 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.114, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-05/1.114, allocations: 23.94 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/1.114, allocations: 18.05 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/1.114, allocations: 172.3 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/1.115, allocations: 0.6885 MB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.581e-05/1.115, allocations: 8 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/1.115, allocations: 7.438 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/1.115, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of Templates: time 0.00307/1.118, allocations: 0.8539 MB / 1.173 GB, free: 12.85 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches