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 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.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.009331/0.009331, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001736/0.001736, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3094, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002419/0.3119, allocations: 0.8635 MB / 1.208 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3132, allocations: 0.8857 MB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.3134, allocations: 4 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.3135, allocations: 19.8 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.3136, allocations: 15.86 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.3138, allocations: 35.89 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.314, allocations: 95.77 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3142, allocations: 55.95 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3143, allocations: 47.78 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.3144, allocations: 39.84 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3144, allocations: 8 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.3145, allocations: 8 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.3145, allocations: 19.92 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.3146, allocations: 43.72 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.3147, allocations: 95.94 kB / 1.21 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3147, allocations: 0 / 1.21 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3147, allocations: 0 / 1.21 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3148, allocations: 0 / 1.21 GB, free: 7.898 MB / 0.9669 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.0006681/0.3154, allocations: 419 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3155, allocations: 8.625 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.3155, allocations: 38.75 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.3156, allocations: 12.75 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3159, allocations: 202.1 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3159, allocations: 4.375 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.316, allocations: 8.375 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.3162, allocations: 94.2 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3162, allocations: 3.938 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3162, allocations: 7.938 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3163, allocations: 0 / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.3165, allocations: 65.56 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.3171, allocations: 356.5 kB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.3173, allocations: 66.53 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3175, allocations: 36.92 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3175, allocations: 4 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3175, allocations: 30.56 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3175, allocations: 3.938 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004958/0.318, allocations: 125.6 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3181, allocations: 55.41 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3182, allocations: 135.3 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3182, allocations: 33.7 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.3183, allocations: 108 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.3184, allocations: 11.84 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.3184, allocations: 17.7 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3186, allocations: 318.8 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3187, allocations: 35.97 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3188, allocations: 31.97 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.319, allocations: 60.75 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.319, allocations: 0 / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002885/0.3193, allocations: 101.5 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3194, allocations: 4 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3194, allocations: 8 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3194, allocations: 3.984 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3195, allocations: 11.98 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3195, allocations: 3.938 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3197, allocations: 15.97 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3197, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 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.0001053/0.3198, allocations: 113.8 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.3198, allocations: 11.91 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.3199, allocations: 12.25 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3199, allocations: 3.984 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3199, allocations: 3.938 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3199, allocations: 0 / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3201, allocations: 185.6 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3202, allocations: 3.984 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.604e-05/0.3202, allocations: 15.92 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3203, allocations: 0 / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3203, allocations: 4.188 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3204, allocations: 8 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3204, allocations: 3.938 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.3207, allocations: 183.4 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.3208, allocations: 85.02 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3209, allocations: 0 / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.321, allocations: 19.97 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.3211, allocations: 15.92 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3211, allocations: 0 / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.437e-05/0.3212, allocations: 104.7 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3212, allocations: 0 / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002427/0.3214, allocations: 23.77 kB / 1.213 GB, free: 4.395 MB / 0.9669 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.0008022/0.3222, allocations: 0.724 MB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.3225, allocations: 67.94 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3226, allocations: 0 / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3227, allocations: 39.91 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.323, allocations: 19.88 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.325, allocations: 1.472 MB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3253, allocations: 0.6924 MB / 1.216 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.519e-05/0.3254, allocations: 8.172 kB / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.3254, allocations: 19.44 kB / 1.216 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of SimCode: time 8.31e-07/0.3254, allocations: 4 kB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.3457, allocations: 2.238 MB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.217, allocations: 9.062 kB / 1.218 GB, free: 15.07 MB / 0.9825 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 & /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 --timeout=50 --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) 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) "" 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