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.001416/0.001416, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001605/0.001605, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.209/1.209, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.292/2.292, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 67.91 kB / 0.8689 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4814, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00187/0.4833, allocations: 0.8835 MB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008684/0.4842, allocations: 0.8624 MB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.4843, allocations: 7.938 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.4844, allocations: 7.875 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.4845, allocations: 7.938 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.4846, allocations: 27.92 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.4847, allocations: 71.84 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4848, allocations: 35.95 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.4849, allocations: 31.8 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.485, allocations: 31.84 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.485, allocations: 12 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.485, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.485, allocations: 11.94 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.4851, allocations: 35.78 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.902e-05/0.4852, allocations: 70 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4852, allocations: 7.938 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4852, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4852, allocations: 0 / 1.019 GB, free: 0.582 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.0004394/0.4857, allocations: 387.1 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4857, allocations: 16.02 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.4857, allocations: 38.75 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.4858, allocations: 12.75 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.486, allocations: 200.1 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.486, allocations: 384 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.486, allocations: 8.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.4861, allocations: 58.23 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4861, allocations: 3.938 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.4862, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.4862, allocations: 7.938 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.4863, allocations: 39.97 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.4867, allocations: 312.6 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4868, allocations: 62.56 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.4869, allocations: 16.92 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.4869, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.4869, allocations: 34.64 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.4869, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002233/0.4872, allocations: 73.58 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.4872, allocations: 55.41 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.4873, allocations: 130.6 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.4873, allocations: 29.7 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.4874, allocations: 100 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.4874, allocations: 15.83 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.4874, allocations: 13.72 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.4875, allocations: 322.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.4876, allocations: 20 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.4876, allocations: 15.98 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.308e-05/0.4877, allocations: 28.84 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4877, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.4879, allocations: 69.58 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4879, allocations: 5.875 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4879, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.4879, allocations: 3.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.488, allocations: 7.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.488, allocations: 7.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.4881, allocations: 11.94 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.4881, allocations: 7.922 kB / 1.021 GB, free: 14.27 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 6.771e-05/0.4881, allocations: 114.4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.4882, allocations: 7.906 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.4882, allocations: 8.25 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.4882, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4882, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.4882, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.4884, allocations: 181.6 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4884, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.4884, allocations: 11.92 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4884, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.4885, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4885, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4885, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.4886, allocations: 167.4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.4887, allocations: 85.02 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.4887, allocations: 384 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.4888, allocations: 11.98 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.4888, allocations: 7.984 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.4888, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.4889, allocations: 107.2 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4889, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002088/0.4891, allocations: 15.91 kB / 1.022 GB, free: 13.46 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.000387/0.4895, allocations: 0.6952 MB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.4897, allocations: 39.91 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4897, allocations: 4 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.75e-05/0.4897, allocations: 12 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.49, allocations: 11.92 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4912, allocations: 1.39 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.4914, allocations: 0.6924 MB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.4914, allocations: 4.188 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.4915, allocations: 23.42 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4915, allocations: 3.938 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3253/0.8168, allocations: 1.797 MB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.817, allocations: 208.9 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/3.117, allocations: 3.234 kB / 1.026 GB, free: 8.543 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.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