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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007307/0.007307, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.001812/0.001812, allocations: 196.5 kB / 16.68 MB, free: 5.871 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.698/2.698, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 63.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.7305, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002178/0.7327, allocations: 0.8169 MB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.7338, allocations: 0.8779 MB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.7339, allocations: 4 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.7341, allocations: 7.875 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.411e-05/0.7341, allocations: 7.875 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.7343, allocations: 27.91 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.7344, allocations: 79.77 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.7346, allocations: 27.98 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.7347, allocations: 31.86 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.7347, allocations: 31.84 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.7348, allocations: 4 kB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.177e-05/0.7348, allocations: 8 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.7348, allocations: 15.92 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.7349, allocations: 35.8 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.735, allocations: 75.33 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7351, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.235e-06/0.7351, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7351, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 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.0006037/0.7357, allocations: 399 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.7357, allocations: 8.031 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.7358, allocations: 38.75 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.7358, allocations: 12.89 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.7361, allocations: 206 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.7362, allocations: 384 / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.7362, allocations: 8.375 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.7363, allocations: 62.17 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7364, allocations: 3.938 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.7364, allocations: 0 / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.7364, allocations: 8 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.7365, allocations: 39.92 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.737, allocations: 316.7 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.7372, allocations: 54.59 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.7373, allocations: 21 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.7373, allocations: 0 / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.7373, allocations: 30.56 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.765e-06/0.7373, allocations: 3.984 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002498/0.7376, allocations: 73.61 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.7376, allocations: 51.41 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.7378, allocations: 141.8 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.7378, allocations: 29.69 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.7379, allocations: 92.14 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.7379, allocations: 7.953 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.7379, allocations: 17.7 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.7381, allocations: 322.8 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.7381, allocations: 15.98 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.057e-05/0.7382, allocations: 15.98 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.971e-05/0.7383, allocations: 32.84 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.7383, allocations: 3.938 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.7384, allocations: 69.58 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7385, allocations: 10.64 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.7385, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.7385, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.7386, allocations: 4 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7386, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.7387, allocations: 19.92 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.7387, allocations: 3.938 kB / 1.224 GB, free: 13.67 MB / 0.9512 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.515e-05/0.7388, allocations: 113.8 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.7388, allocations: 7.953 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.7388, allocations: 12.23 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.7389, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7389, allocations: 4 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.7389, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.7391, allocations: 185.6 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7391, allocations: 0 / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.7391, allocations: 4 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7391, allocations: 3.938 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.7392, allocations: 3.984 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7392, allocations: 0 / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.7392, allocations: 3.984 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.7394, allocations: 163.4 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.7394, allocations: 89.06 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.7395, allocations: 0 / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.7396, allocations: 15.98 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.7396, allocations: 11.98 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.7396, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.557e-05/0.7397, allocations: 107.1 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7398, allocations: 0 / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002257/0.74, allocations: 8 kB / 1.225 GB, free: 12.85 MB / 0.9512 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.0005629/0.7406, allocations: 0.7094 MB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.7407, allocations: 31.98 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7407, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-05/0.7408, allocations: 15.98 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.741, allocations: 11.94 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.7426, allocations: 1.393 MB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.7429, allocations: 0.6885 MB / 1.228 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.743, allocations: 4 kB / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.743, allocations: 31.42 kB / 1.228 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.743, allocations: 0 / 1.228 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.7654, allocations: 1.987 MB / 1.23 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.651, allocations: 17.06 kB / 1.23 GB, free: 7.949 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv","/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) Reference file matches