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.009119/0.009119, allocations: 97.14 kB / 15.73 MB, free: 6.039 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.002445/0.002446, allocations: 202.2 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 2.569/2.569, allocations: 222.9 MB / 240.4 MB, free: 4.34 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 4.828/4.828, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003335/0.003335, allocations: 71.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4661, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.003254/0.4694, allocations: 0.8172 MB / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.4714, allocations: 0.8819 MB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.4716, allocations: 3.938 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.4718, allocations: 11.88 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.4719, allocations: 11.86 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.4721, allocations: 19.98 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.4723, allocations: 83.7 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.4725, allocations: 31.97 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.4727, allocations: 31.86 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.4728, allocations: 23.86 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.4729, allocations: 8 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.114e-05/0.4729, allocations: 4 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.4729, allocations: 15.92 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.473, allocations: 35.8 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.4732, allocations: 75.91 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4733, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4733, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4733, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 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.0008872/0.4742, allocations: 399 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.4743, allocations: 12.03 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.549e-05/0.4743, allocations: 38.69 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.4744, allocations: 8.891 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.4748, allocations: 204.2 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4749, allocations: 4.375 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.4749, allocations: 8.375 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.4752, allocations: 62.17 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4752, allocations: 3.938 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4753, allocations: 0 / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4753, allocations: 0 / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.4755, allocations: 43.97 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.4763, allocations: 308.7 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4767, allocations: 50.55 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.4768, allocations: 16.92 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4768, allocations: 8.031 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.4769, allocations: 30.56 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 6.111e-06/0.4769, allocations: 0 / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004514/0.4774, allocations: 77.64 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.4774, allocations: 55.41 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.4777, allocations: 131.9 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.4777, allocations: 25.7 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4778, allocations: 104.1 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.4779, allocations: 15.89 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.478, allocations: 13.72 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.4782, allocations: 322.8 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.4783, allocations: 12 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.4784, allocations: 20.11 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.4786, allocations: 40.92 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4787, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002846/0.479, allocations: 65.62 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.479, allocations: 8 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.479, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4791, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4792, allocations: 4 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.4792, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.4793, allocations: 7.984 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.4794, allocations: 11.94 kB / 1.17 GB, free: 2.988 MB / 0.92 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 0.0001508/0.4796, allocations: 125.7 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.4796, allocations: 3.953 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.4797, allocations: 12.25 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4797, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4797, allocations: 4 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4797, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.4801, allocations: 185.6 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4801, allocations: 4 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.4802, allocations: 7.984 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4802, allocations: 0 / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4803, allocations: 4 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4803, allocations: 0 / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4803, allocations: 0 / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.4806, allocations: 159.4 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.4808, allocations: 85 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.4808, allocations: 4 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.481, allocations: 19.92 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.4811, allocations: 7.984 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.4811, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001373/0.4813, allocations: 113.4 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4813, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004637/0.4818, allocations: 8 kB / 1.171 GB, free: 2.16 MB / 0.92 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.0008872/0.4827, allocations: 0.6929 MB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.483, allocations: 36.06 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.483, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.4831, allocations: 20.08 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.4836, allocations: 4 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.4862, allocations: 1.393 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.4869, allocations: 0.6885 MB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.289e-05/0.487, allocations: 7.984 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4871, allocations: 23.42 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/0.4871, allocations: 0 / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.5245, allocations: 1.987 MB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.84, allocations: 20.7 kB / 1.176 GB, free: 13.28 MB / 0.9356 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