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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_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.001071/0.001071, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.383/2.383, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.84 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5127, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001806/0.5146, allocations: 0.8129 MB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.5154, allocations: 0.8741 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.5155, allocations: 3.938 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.5156, allocations: 19.86 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.123e-05/0.5156, allocations: 15.8 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.5158, allocations: 27.97 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.5159, allocations: 71.78 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.516, allocations: 35.97 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.5161, allocations: 31.84 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.5161, allocations: 27.86 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.5162, allocations: 4 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.5162, allocations: 4 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.5162, allocations: 19.92 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.5162, allocations: 23.81 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.5163, allocations: 85.98 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5163, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.484e-06/0.5164, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.5164, allocations: 3.938 kB / 1.019 GB, free: 428 kB / 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.0004548/0.5168, allocations: 387.2 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.5169, allocations: 12.03 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.5169, allocations: 30.75 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.5169, allocations: 16.75 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.5171, allocations: 204.1 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-06/0.5171, allocations: 384 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.5171, allocations: 4.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.5173, allocations: 70.16 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5173, allocations: 7.875 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.5173, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.5173, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.5174, allocations: 31.92 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.5178, allocations: 328.6 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.518, allocations: 38.56 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.518, allocations: 21 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.5181, allocations: 8 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.5181, allocations: 30.56 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5181, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002216/0.5183, allocations: 77.61 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.5184, allocations: 51.41 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/0.5184, allocations: 136.2 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.5185, allocations: 25.7 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.5185, allocations: 104 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.5185, allocations: 3.906 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.462e-05/0.5186, allocations: 21.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.5187, allocations: 322.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.5187, allocations: 15.98 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.5188, allocations: 16.17 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.5188, allocations: 32.92 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5189, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001236/0.519, allocations: 65.59 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.519, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.519, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.519, allocations: 7.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.5191, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.5191, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.5192, allocations: 15.92 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5192, allocations: 7.938 kB / 1.021 GB, free: 14.12 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 7.026e-05/0.5193, allocations: 113.8 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.5193, allocations: 7.906 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.5193, allocations: 16.23 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.5193, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.5193, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.5194, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.5195, allocations: 181.6 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5195, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.5196, allocations: 11.94 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5196, allocations: 3.938 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.5196, allocations: 3.984 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5196, allocations: 11.94 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5196, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.5197, allocations: 155.5 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.5198, allocations: 81.02 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.5198, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.5199, allocations: 15.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.52, allocations: 11.98 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.52, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.625e-05/0.52, allocations: 108.5 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.52, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002168/0.5203, allocations: 11.91 kB / 1.022 GB, free: 13.3 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.0003779/0.5206, allocations: 0.6929 MB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.5208, allocations: 31.98 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5208, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/0.5209, allocations: 24.16 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.5211, allocations: 8.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.5222, allocations: 1.379 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.5224, allocations: 0.6885 MB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.5225, allocations: 11.98 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.5225, allocations: 27.42 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of SimCode: time 1.342e-06/0.5225, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.538, allocations: 1.947 MB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/7.318, allocations: 12.53 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv","/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