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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009696/0.009696, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.549/1.549, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.003/3.003, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 11.91 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.385, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001281/0.3863, allocations: 0.5856 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3875, allocations: 0.8819 MB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.881e-05/0.3876, allocations: 4 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.3878, allocations: 11.88 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.3878, allocations: 15.91 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.388, allocations: 39.91 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.3882, allocations: 91.67 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3883, allocations: 47.91 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3885, allocations: 35.78 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.3886, allocations: 27.86 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3886, allocations: 0 / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.3886, allocations: 4 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.3886, allocations: 11.92 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.3887, allocations: 61.44 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.3889, allocations: 83.69 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3889, allocations: 0 / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3889, allocations: 4 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3889, allocations: 0 / 1.061 GB, free: 3.551 MB / 0.8106 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.0006136/0.3895, allocations: 403.5 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3896, allocations: 12.03 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.3896, allocations: 16.78 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.3898, allocations: 204 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3899, allocations: 16.36 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.3899, allocations: 4.375 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.3902, allocations: 94.2 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3902, allocations: 192 / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.3902, allocations: 11.94 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3902, allocations: 7.984 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.3905, allocations: 79.94 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.391, allocations: 352.5 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3913, allocations: 86.47 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.3914, allocations: 44.92 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3915, allocations: 0 / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3915, allocations: 34.56 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.3915, allocations: 0 / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004922/0.392, allocations: 141.5 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.3921, allocations: 51.41 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3922, allocations: 139.2 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3922, allocations: 29.7 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.3923, allocations: 112 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3923, allocations: 11.78 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3923, allocations: 17.72 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3925, allocations: 314.8 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3926, allocations: 39.97 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3927, allocations: 43.97 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.393, allocations: 68.81 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.393, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002984/0.3933, allocations: 113.5 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3933, allocations: 5.875 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3933, allocations: 4 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3934, allocations: 0 / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3935, allocations: 19.92 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3935, allocations: 3.938 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3936, allocations: 23.97 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3936, allocations: 4 kB / 1.063 GB, free: 0.8672 MB / 0.8106 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 8.755e-05/0.3937, allocations: 113.8 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3938, allocations: 11.84 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.3938, allocations: 12.25 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3938, allocations: 0 / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.3938, allocations: 3.938 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3938, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.394, allocations: 193.6 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.394, allocations: 192 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/0.3941, allocations: 23.98 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3941, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3942, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3942, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.3942, allocations: 7.922 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.3945, allocations: 207.3 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.3946, allocations: 85.02 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3946, allocations: 0 / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3947, allocations: 31.97 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.3948, allocations: 11.92 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3948, allocations: 0 / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.598e-05/0.3949, allocations: 99.27 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3949, allocations: 4 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002254/0.3951, allocations: 11.94 kB / 1.064 GB, free: 15.97 MB / 0.8262 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.0001511/0.3953, allocations: 107.5 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003002/0.3956, allocations: 83.89 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3956, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3958, allocations: 43.97 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3961, allocations: 19.92 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.3965, allocations: 216.9 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.3968, allocations: 0.6965 MB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.573e-05/0.3969, allocations: 4 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.3969, allocations: 15.44 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3969, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.003302/0.4002, allocations: 0.8425 MB / 1.066 GB, free: 13.89 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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