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.004773/0.004773, allocations: 106.1 kB / 15.74 MB, free: 6.449 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.00135/0.00135, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.703/2.703, allocations: 482.6 MB / 0.7551 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 72.11 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3631, allocations: 162.3 MB / 1.242 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002081/0.3653, allocations: 0.876 MB / 1.243 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3664, allocations: 0.8857 MB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.3665, allocations: 4 kB / 1.244 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.3666, allocations: 11.81 kB / 1.244 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.3667, allocations: 15.84 kB / 1.244 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.3668, allocations: 39.91 kB / 1.244 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.367, allocations: 99.75 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.3671, allocations: 47.97 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3672, allocations: 43.78 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.3673, allocations: 39.83 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.3674, allocations: 8 kB / 1.244 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.194e-05/0.3674, allocations: 8 kB / 1.244 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.3674, allocations: 19.92 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.3675, allocations: 39.73 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3676, allocations: 95.58 kB / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3676, allocations: 3.938 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3676, allocations: 4 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3677, allocations: 0 / 1.244 GB, free: 7.504 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.0006255/0.3683, allocations: 415 kB / 1.245 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3683, allocations: 12.03 kB / 1.245 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.3684, allocations: 34.75 kB / 1.245 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.3684, allocations: 12.88 kB / 1.245 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.3687, allocations: 212.1 kB / 1.245 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3687, allocations: 4.375 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3687, allocations: 4.375 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.369, allocations: 98.14 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.369, allocations: 3.938 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.369, allocations: 0 / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.369, allocations: 7.984 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.3693, allocations: 71.94 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.3698, allocations: 344.6 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.37, allocations: 66.53 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3701, allocations: 36.92 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3702, allocations: 0 / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.3702, allocations: 42.56 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.3702, allocations: 3.938 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004364/0.3706, allocations: 121.5 kB / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3707, allocations: 55.41 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3708, allocations: 136 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3708, allocations: 25.7 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.3709, allocations: 116 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.371, allocations: 7.953 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.371, allocations: 17.72 kB / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3711, allocations: 322.8 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.3713, allocations: 31.97 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3714, allocations: 35.97 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3716, allocations: 56.94 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3716, allocations: 0 / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002578/0.3719, allocations: 105.5 kB / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3719, allocations: 4 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3719, allocations: 0 / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3719, allocations: 0 / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.372, allocations: 11.98 kB / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.372, allocations: 3.938 kB / 1.246 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.3721, allocations: 15.98 kB / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3722, allocations: 8 kB / 1.246 GB, free: 4.875 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.698e-05/0.3723, allocations: 117.8 kB / 1.247 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3723, allocations: 7.953 kB / 1.247 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.3723, allocations: 8.25 kB / 1.247 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3723, allocations: 4 kB / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3723, allocations: 3.938 kB / 1.247 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3723, allocations: 0 / 1.247 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.3726, allocations: 185.6 kB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3726, allocations: 3.938 kB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.3726, allocations: 15.98 kB / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3727, allocations: 0 / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3727, allocations: 4 kB / 1.247 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3727, allocations: 0 / 1.247 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3727, allocations: 3.938 kB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.373, allocations: 187.4 kB / 1.247 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3731, allocations: 89.06 kB / 1.247 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3731, allocations: 4.062 kB / 1.247 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3732, allocations: 19.97 kB / 1.247 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.3733, allocations: 11.92 kB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3733, allocations: 4 kB / 1.247 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.3734, allocations: 97.45 kB / 1.247 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3734, allocations: 0 / 1.247 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002189/0.3736, allocations: 27.83 kB / 1.247 GB, free: 3.996 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.0006634/0.3743, allocations: 0.7287 MB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3746, allocations: 75.88 kB / 1.248 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3746, allocations: 0 / 1.248 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3747, allocations: 39.91 kB / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.375, allocations: 7.938 kB / 1.248 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3768, allocations: 1.48 MB / 1.249 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3771, allocations: 0.6963 MB / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.376e-05/0.3771, allocations: 4 kB / 1.25 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.3772, allocations: 35.42 kB / 1.25 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3772, allocations: 3.938 kB / 1.25 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.858/2.235, allocations: 2.173 MB / 1.252 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/14.64, allocations: 6.312 kB / 1.252 GB, free: 14.32 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 & /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=400 --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) Reference file matches