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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 214.6 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.486/3.486, allocations: 0.505 GB / 0.8101 GB, free: 21.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 69.62 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3997, allocations: 180.2 MB / 1.353 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002234/0.4019, allocations: 0.8892 MB / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.4032, allocations: 0.9328 MB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4033, allocations: 0 / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.4034, allocations: 11.81 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.4035, allocations: 15.88 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.4037, allocations: 39.89 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.4039, allocations: 103.7 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.404, allocations: 35.95 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.4042, allocations: 43.86 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.4043, allocations: 39.83 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.4043, allocations: 8 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.863e-05/0.4043, allocations: 15.88 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.4044, allocations: 19.92 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.4044, allocations: 47.73 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.4046, allocations: 107.8 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4046, allocations: 0 / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4046, allocations: 0 / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.4046, allocations: 0 / 1.355 GB, free: 6.07 MB / 1.045 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.0006278/0.4053, allocations: 341.9 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4053, allocations: 8.031 kB / 1.355 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.4053, allocations: 38.75 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.4055, allocations: 20.88 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.4058, allocations: 150.3 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4058, allocations: 4.375 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.4058, allocations: 8.375 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.4061, allocations: 87.08 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4061, allocations: 11.94 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4061, allocations: 0 / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4061, allocations: 0 / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.4063, allocations: 71.94 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.4069, allocations: 311.7 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.4072, allocations: 74.47 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.4073, allocations: 36.92 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.4073, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.4073, allocations: 34.56 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4073, allocations: 0 / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004712/0.4078, allocations: 117.6 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.4079, allocations: 55.34 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.408, allocations: 143.4 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.408, allocations: 29.7 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.4081, allocations: 104 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.4081, allocations: 15.89 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.4082, allocations: 25.64 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4083, allocations: 314.8 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.4085, allocations: 31.97 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.4086, allocations: 31.97 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.4088, allocations: 56.81 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4088, allocations: 0 / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002716/0.409, allocations: 101.8 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4091, allocations: 6.344 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4091, allocations: 0 / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.4091, allocations: 4 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.4092, allocations: 15.92 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4092, allocations: 11.88 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.4093, allocations: 19.97 kB / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4093, allocations: 0 / 1.357 GB, free: 3.641 MB / 1.045 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 0.0001295/0.4095, allocations: 117.8 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.4095, allocations: 7.953 kB / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.4095, allocations: 8.344 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4095, allocations: 192 / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4095, allocations: 7.938 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.4095, allocations: 11.97 kB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.4097, allocations: 164.7 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4097, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.4098, allocations: 11.98 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4098, allocations: 0 / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4098, allocations: 3.984 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4098, allocations: 0 / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4098, allocations: 3.938 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.4102, allocations: 191.4 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.4102, allocations: 3.953 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4102, allocations: 4 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.4103, allocations: 15.97 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.4104, allocations: 19.86 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.4104, allocations: 0 / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.266e-05/0.4105, allocations: 107.2 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4105, allocations: 0 / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002453/0.4107, allocations: 19.89 kB / 1.358 GB, free: 2.883 MB / 1.045 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.0007256/0.4114, allocations: 0.7163 MB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.4117, allocations: 63.94 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4117, allocations: 0 / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4119, allocations: 35.97 kB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.4122, allocations: 15.94 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.4141, allocations: 1.485 MB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.4145, allocations: 0.6963 MB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.4145, allocations: 3.984 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.4146, allocations: 27.42 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.4146, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.4436, allocations: 2.316 MB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.57, allocations: 21.86 kB / 1.363 GB, free: 13.5 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.7867205189541]