Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.458/2.458, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Greater,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7594, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001689/0.761, allocations: 0.8728 MB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.7618, allocations: 0.8924 MB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.7619, allocations: 6.344 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.762, allocations: 15.16 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.732e-05/0.7621, allocations: 11.81 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.7622, allocations: 38.19 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.7623, allocations: 103.2 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.7625, allocations: 43.73 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.837e-05/0.7625, allocations: 38.53 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.7626, allocations: 34.77 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.7626, allocations: 7.906 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.7626, allocations: 7.562 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.7627, allocations: 26.25 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.7627, allocations: 39.48 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.7628, allocations: 103.5 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7628, allocations: 0.6562 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7628, allocations: 0 / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7629, allocations: 4.844 kB / 1.274 GB, free: 6.211 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.0004738/0.7633, allocations: 408.8 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.7634, allocations: 10.06 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.7634, allocations: 36.66 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.7634, allocations: 12.56 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.7636, allocations: 210.8 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.7636, allocations: 7.438 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.7636, allocations: 8.406 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.7638, allocations: 90.73 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7638, allocations: 7.938 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.7638, allocations: 0.7188 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7638, allocations: 1.719 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.7641, allocations: 70.33 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.7644, allocations: 354.6 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.7647, allocations: 63.75 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.7648, allocations: 35.45 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.7648, allocations: 3.938 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.7648, allocations: 35.41 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.7648, allocations: 0.6875 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004046/0.7652, allocations: 117.8 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.7652, allocations: 57.7 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.7653, allocations: 137 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.7653, allocations: 26.7 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.7653, allocations: 107.9 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.7654, allocations: 10.8 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.449e-05/0.7654, allocations: 21.59 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.7654, allocations: 318.3 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.7655, allocations: 31.59 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.7657, allocations: 35.17 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.7659, allocations: 54.88 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7659, allocations: 0 / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002456/0.7661, allocations: 100.4 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.7661, allocations: 9.469 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7661, allocations: 0 / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.7661, allocations: 1.656 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.7662, allocations: 10.78 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.7662, allocations: 4.656 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.7663, allocations: 20.33 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.7663, allocations: 5.219 kB / 1.276 GB, free: 4.25 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 5.202e-05/0.7664, allocations: 120.2 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.7664, allocations: 6.891 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.7665, allocations: 15 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7665, allocations: 0.6562 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7665, allocations: 4.562 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7665, allocations: 1.031 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.7666, allocations: 194.7 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7666, allocations: 0 / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.7667, allocations: 10.55 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7667, allocations: 4.969 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.7667, allocations: 2.25 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7667, allocations: 0 / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7667, allocations: 4.812 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.7669, allocations: 188.8 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.767, allocations: 89 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.767, allocations: 0.7812 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.7671, allocations: 14.86 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.7671, allocations: 16.44 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.7672, allocations: 2.062 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.7672, allocations: 104 kB / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7672, allocations: 0 / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002115/0.7674, allocations: 18.34 kB / 1.277 GB, free: 3.539 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.0004149/0.7678, allocations: 0.7265 MB / 1.277 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.7681, allocations: 71.06 kB / 1.277 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.7681, allocations: 0 / 1.277 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.7682, allocations: 32.91 kB / 1.278 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.7684, allocations: 17.08 kB / 1.278 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.7698, allocations: 1.487 MB / 1.279 GB, free: 17.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.7701, allocations: 0.6938 MB / 1.28 GB, free: 16.85 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.7702, allocations: 3.781 kB / 1.28 GB, free: 16.85 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.7702, allocations: 30.67 kB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.7702, allocations: 0.9688 kB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.7924, allocations: 2.192 MB / 1.282 GB, free: 16.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/7.733, allocations: 4.641 kB / 1.282 GB, free: 16.41 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,gre.u1,gre.u2,gre.y,greHys.y Variables in the result:gre.h,gre.pre_y_start,gre.u1,gre.u2,gre.y,greHys.h,greHys.pre_y_start,greHys.u1,greHys.u2,greHys.y,ram1.duration,ram1.height,ram1.offset,ram1.startTime,ram1.y,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,sin.y,time [Calling sys.exit(0), Time elapsed: 12.957825763000073]