Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Greater,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_10_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.005567/0.005567, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001241/0.001242, allocations: 195 kB / 16.67 MB, free: 6.379 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.674/2.674, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 75.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3117, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002091/0.3139, allocations: 0.8659 MB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3151, allocations: 0.8857 MB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.3153, allocations: 4 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.3154, allocations: 11.86 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.3155, allocations: 19.81 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3157, allocations: 35.95 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.3159, allocations: 103.7 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.316, allocations: 47.97 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3162, allocations: 43.78 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.3163, allocations: 47.77 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.3163, allocations: 8 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.3163, allocations: 4 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.3164, allocations: 19.92 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.3164, allocations: 39.8 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3166, allocations: 100.2 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3166, allocations: 0 / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3166, allocations: 0 / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3166, allocations: 0 / 1.168 GB, free: 5.027 MB / 0.92 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.000652/0.3173, allocations: 410.3 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3173, allocations: 8.031 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.3174, allocations: 42.73 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.3174, allocations: 12.75 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.3177, allocations: 202 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3177, allocations: 8.375 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3178, allocations: 8.375 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.318, allocations: 90.14 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.318, allocations: 7.922 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.318, allocations: 8 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.318, allocations: 0 / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.3183, allocations: 59.95 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.3188, allocations: 356.5 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.319, allocations: 70.47 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3191, allocations: 40.92 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3192, allocations: 4 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3192, allocations: 34.56 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3192, allocations: 0 / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004203/0.3196, allocations: 113.6 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3197, allocations: 55.34 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3198, allocations: 141.7 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3198, allocations: 25.7 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.3199, allocations: 112 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.3199, allocations: 7.844 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.32, allocations: 21.7 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3201, allocations: 318.8 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3202, allocations: 31.97 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.905e-05/0.3203, allocations: 31.97 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.3206, allocations: 52.81 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3206, allocations: 0 / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002747/0.3209, allocations: 97.55 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3209, allocations: 9.812 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3209, allocations: 4 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3209, allocations: 4 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.321, allocations: 11.98 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.321, allocations: 7.938 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3211, allocations: 15.97 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3212, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 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.435e-05/0.3213, allocations: 113.8 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.3213, allocations: 11.91 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.3213, allocations: 12.25 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.3213, allocations: 0 / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.3214, allocations: 3.938 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3214, allocations: 3.938 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.3216, allocations: 189.6 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3216, allocations: 192 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.3217, allocations: 12.17 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3217, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3217, allocations: 11.97 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3217, allocations: 8 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3217, allocations: 3.938 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.322, allocations: 187.3 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.3221, allocations: 85.02 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3221, allocations: 0 / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3222, allocations: 19.97 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.3223, allocations: 15.92 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3223, allocations: 0 / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.26e-05/0.3224, allocations: 103.3 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3224, allocations: 0 / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002456/0.3226, allocations: 15.84 kB / 1.171 GB, free: 1.539 MB / 0.92 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.0006138/0.3232, allocations: 0.7241 MB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.3235, allocations: 63.94 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3235, allocations: 4 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3237, allocations: 43.91 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.3239, allocations: 18.06 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3258, allocations: 1.48 MB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3261, allocations: 0.6924 MB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.671e-05/0.3261, allocations: 4 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.3262, allocations: 27.42 kB / 1.174 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3262, allocations: 0 / 1.174 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.3459, allocations: 2.199 MB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.099, allocations: 10.97 kB / 1.177 GB, free: 12.24 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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