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.001512/0.001513, allocations: 109.7 kB / 15.99 MB, free: 5.891 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.001664/0.001664, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.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.684/2.684, allocations: 437.1 MB / 0.7107 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 0.8694 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6239/0.6258, allocations: 151.6 MB / 1.018 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002137/0.628, allocations: 0.8779 MB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.6291, allocations: 0.8701 MB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-05/0.6291, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.6293, allocations: 15.88 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/0.6294, allocations: 7.875 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.6295, allocations: 27.97 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.6297, allocations: 71.78 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.6298, allocations: 31.97 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.6299, allocations: 35.86 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.63, allocations: 31.84 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.63, allocations: 4 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.63, allocations: 7.938 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.6301, allocations: 15.94 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.6301, allocations: 31.78 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.476e-05/0.6302, allocations: 53.86 kB / 1.02 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6302, allocations: 4 kB / 1.02 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6302, allocations: 0 / 1.02 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.6302, allocations: 0 / 1.02 GB, free: 0.5781 MB / 0.7637 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.0005754/0.6308, allocations: 399.1 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.6309, allocations: 8.031 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.6309, allocations: 8.844 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.6311, allocations: 200.1 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.6312, allocations: 4.375 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.6312, allocations: 4.375 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.6314, allocations: 62.22 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.6314, allocations: 4.125 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.6314, allocations: 15.94 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6314, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.6315, allocations: 27.98 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.632, allocations: 320.6 kB / 1.021 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.6322, allocations: 50.56 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.6323, allocations: 21 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.6323, allocations: 0 / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.6323, allocations: 30.56 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 3.376e-06/0.6323, allocations: 0 / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000257/0.6326, allocations: 81.55 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.6327, allocations: 51.41 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.6328, allocations: 135.9 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.6328, allocations: 25.7 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.6329, allocations: 104 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.6329, allocations: 7.906 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.633, allocations: 21.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6331, allocations: 314.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.6332, allocations: 19.98 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.6332, allocations: 15.98 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.6333, allocations: 28.84 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6333, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.6335, allocations: 69.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6335, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6335, allocations: 7.984 kB / 1.022 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6335, allocations: 3.984 kB / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.6336, allocations: 8 kB / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.6336, allocations: 0 / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/0.6337, allocations: 11.92 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6337, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.7794 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.442e-05/0.6338, allocations: 118.3 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.6338, allocations: 7.906 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.6339, allocations: 16.23 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.6339, allocations: 4 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6339, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.6339, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.6341, allocations: 185.6 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6341, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.6342, allocations: 8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6342, allocations: 3.938 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.6342, allocations: 7.984 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.6342, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6342, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.6344, allocations: 159.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.6345, allocations: 81.02 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.6345, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.6346, allocations: 15.92 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.6347, allocations: 7.984 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.6347, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.141e-05/0.6348, allocations: 105 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6348, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002222/0.635, allocations: 15.84 kB / 1.022 GB, free: 13.5 MB / 0.7794 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.0001608/0.6352, allocations: 103.2 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.6353, allocations: 43.91 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6353, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.6354, allocations: 15.98 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.6357, allocations: 15.98 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.6361, allocations: 212.3 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.6364, allocations: 0.6924 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.6365, allocations: 11.44 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6365, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.002487/0.639, allocations: 0.9723 MB / 1.024 GB, free: 11.38 MB / 0.7794 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=400 -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/jenkins1/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