Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",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.004589/0.004589, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001302/0.001302, allocations: 197.6 kB / 16.68 MB, free: 5.977 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 75.89 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2862, allocations: 162.2 MB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002027/0.2882, allocations: 0.8656 MB / 1.242 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2894, allocations: 0.8935 MB / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.2894, allocations: 3.938 kB / 1.243 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2895, allocations: 11.88 kB / 1.243 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.2896, allocations: 11.88 kB / 1.243 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.2898, allocations: 35.89 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2899, allocations: 99.7 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.2901, allocations: 55.94 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.2902, allocations: 35.86 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.2902, allocations: 39.84 kB / 1.244 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2903, allocations: 8 kB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.2903, allocations: 8 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.2903, allocations: 23.84 kB / 1.244 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.2904, allocations: 43.73 kB / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.2905, allocations: 99.58 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2906, allocations: 0 / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2906, allocations: 0 / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.2906, allocations: 0 / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006301/0.2912, allocations: 415 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2912, allocations: 8.031 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.2913, allocations: 42.75 kB / 1.244 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.2913, allocations: 8.891 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.2916, allocations: 212.1 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2916, allocations: 4.375 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.2916, allocations: 8.375 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.2919, allocations: 97.45 kB / 1.244 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2919, allocations: 3.938 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-06/0.2919, allocations: 4 kB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2919, allocations: 0 / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.2922, allocations: 71.94 kB / 1.245 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.2927, allocations: 344.6 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.293, allocations: 74.48 kB / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.2931, allocations: 32.92 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2931, allocations: 0 / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.2932, allocations: 38.5 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2932, allocations: 0 / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004753/0.2937, allocations: 125.6 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.2937, allocations: 51.41 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.2938, allocations: 139.6 kB / 1.245 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2939, allocations: 29.7 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.2939, allocations: 104 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.294, allocations: 11.94 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.294, allocations: 21.72 kB / 1.245 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2942, allocations: 326.8 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.2943, allocations: 23.98 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2944, allocations: 35.91 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.2947, allocations: 64.92 kB / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2947, allocations: 0 / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002913/0.295, allocations: 93.61 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.295, allocations: 8 kB / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.295, allocations: 0 / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.295, allocations: 0 / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2951, allocations: 16.11 kB / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2951, allocations: 7.922 kB / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.2953, allocations: 19.94 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2953, allocations: 4 kB / 1.246 GB, free: 5.293 MB / 0.9981 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 (5): * Single equations (assignments): 5 * 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.098e-05/0.2954, allocations: 114.4 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.2954, allocations: 7.984 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.2955, allocations: 16.23 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2955, allocations: 0 / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2955, allocations: 3.938 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2955, allocations: 4 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.2957, allocations: 189.6 kB / 1.246 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2957, allocations: 4 kB / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.2958, allocations: 7.984 kB / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.2958, allocations: 4 kB / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2958, allocations: 0 / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2958, allocations: 0 / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2958, allocations: 3.938 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.2962, allocations: 191.4 kB / 1.247 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.2962, allocations: 85.09 kB / 1.247 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2963, allocations: 4 kB / 1.247 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2964, allocations: 11.98 kB / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2965, allocations: 11.92 kB / 1.247 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.2965, allocations: 4.062 kB / 1.247 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.178e-05/0.2966, allocations: 109.8 kB / 1.247 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2966, allocations: 3.938 kB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002352/0.2968, allocations: 19.89 kB / 1.247 GB, free: 4.414 MB / 0.9981 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 (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 Backend phase and start with SimCode phase: time 0.0006822/0.2975, allocations: 0.7241 MB / 1.247 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.2978, allocations: 71.94 kB / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2978, allocations: 0 / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2979, allocations: 35.91 kB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2982, allocations: 17.98 kB / 1.248 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3001, allocations: 1.48 MB / 1.249 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3004, allocations: 0.6963 MB / 1.25 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.145e-05/0.3005, allocations: 8 kB / 1.25 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.3006, allocations: 27.42 kB / 1.25 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.3006, allocations: 0 / 1.25 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5084/0.8089, allocations: 2.186 MB / 1.252 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/8.442, allocations: 10.52 kB / 1.252 GB, free: 14.71 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches