Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_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.0016/0.0016, allocations: 108 kB / 15.61 MB, free: 148 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.001768/0.001768, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.436/2.436, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 69.41 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2195, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001818/0.2213, allocations: 0.8228 MB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000852/0.2222, allocations: 0.8779 MB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.2223, allocations: 0 / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.2224, allocations: 15.81 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.106e-05/0.2225, allocations: 15.88 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.2226, allocations: 27.95 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.661e-05/0.2227, allocations: 71.78 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.2228, allocations: 31.92 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.805e-05/0.2229, allocations: 31.86 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.223, allocations: 31.84 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.223, allocations: 4 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.223, allocations: 4 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.223, allocations: 19.92 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.2231, allocations: 31.73 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2232, allocations: 79.97 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2232, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2232, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2232, allocations: 4 kB / 1.055 GB, free: 6.207 MB / 0.8106 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.0004361/0.2236, allocations: 379.2 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2237, allocations: 16.56 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.2237, allocations: 38.73 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.2238, allocations: 12.84 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.2239, allocations: 192.2 kB / 1.056 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.2239, allocations: 8.312 kB / 1.056 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.224, allocations: 4.375 kB / 1.056 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.2241, allocations: 66.23 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2241, allocations: 7.875 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.2241, allocations: 0 / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2241, allocations: 4 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.457e-05/0.2242, allocations: 27.98 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.2246, allocations: 328.6 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2248, allocations: 42.66 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.2248, allocations: 20.91 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.2248, allocations: 4 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.2249, allocations: 34.56 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.2249, allocations: 0 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000221/0.2251, allocations: 77.59 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.2251, allocations: 55.41 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.2252, allocations: 135.9 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2252, allocations: 25.7 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.2253, allocations: 104 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.2253, allocations: 7.891 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.2254, allocations: 21.72 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.2254, allocations: 326.8 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.2255, allocations: 12 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.2255, allocations: 15.98 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.147e-05/0.2256, allocations: 25.12 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2256, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.2258, allocations: 81.5 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.2258, allocations: 7.938 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2258, allocations: 0 / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2258, allocations: 4 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.2259, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2259, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.2259, allocations: 11.98 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.226, allocations: 3.938 kB / 1.057 GB, free: 3.914 MB / 0.8106 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.737e-05/0.226, allocations: 119.4 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.2261, allocations: 15.89 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.2261, allocations: 8.25 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2261, allocations: 3.938 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2261, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.2261, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.2263, allocations: 181.6 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2263, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.2263, allocations: 11.92 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2263, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2263, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.2264, allocations: 12 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2264, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.2265, allocations: 159.4 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.2265, allocations: 81.11 kB / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2266, allocations: 0 / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.995e-05/0.2267, allocations: 11.98 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.2267, allocations: 11.98 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2267, allocations: 0 / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.2268, allocations: 112.5 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2268, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000206/0.227, allocations: 15.94 kB / 1.058 GB, free: 3.09 MB / 0.8106 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.0003642/0.2274, allocations: 0.6967 MB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.2275, allocations: 31.98 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2275, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.2276, allocations: 23.92 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.2278, allocations: 14.05 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2289, allocations: 1.377 MB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2291, allocations: 0.6885 MB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.2292, allocations: 7.938 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.2292, allocations: 31.42 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2292, allocations: 0 / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.84/2.069, allocations: 1.95 MB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/13.52, allocations: 8.438 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches