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: 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.006007/0.006007, allocations: 95.38 kB / 15.73 MB, free: 6.043 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.00122/0.00122, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.6 MB / 0.7453 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.91 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3843, allocations: 159.9 MB / 1.226 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002059/0.3865, allocations: 0.8785 MB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3875, allocations: 0.8896 MB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.3876, allocations: 0 / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.3878, allocations: 19.8 kB / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.762e-05/0.3878, allocations: 7.875 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.388, allocations: 35.95 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3882, allocations: 107.6 kB / 1.228 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3884, allocations: 43.97 kB / 1.228 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3885, allocations: 47.78 kB / 1.228 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.3886, allocations: 43.83 kB / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3886, allocations: 8 kB / 1.228 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.3886, allocations: 8 kB / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.3887, allocations: 19.92 kB / 1.228 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.3887, allocations: 35.73 kB / 1.228 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.3888, allocations: 99.58 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3889, allocations: 0 / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3889, allocations: 0 / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3889, allocations: 0 / 1.228 GB, free: 6.945 MB / 0.9825 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.0005966/0.3895, allocations: 415 kB / 1.228 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3895, allocations: 12.03 kB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3896, allocations: 8.891 kB / 1.228 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.3898, allocations: 217.5 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3898, allocations: 8.375 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3899, allocations: 4.375 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.3901, allocations: 94.2 kB / 1.229 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3901, allocations: 192 / 1.229 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3902, allocations: 7.875 kB / 1.229 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.3902, allocations: 4 kB / 1.229 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.3904, allocations: 71.88 kB / 1.229 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.3909, allocations: 348.7 kB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.3912, allocations: 74.45 kB / 1.229 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3913, allocations: 28.94 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3913, allocations: 4 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.3914, allocations: 42.55 kB / 1.229 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3914, allocations: 0 / 1.229 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004298/0.3918, allocations: 113.6 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.3918, allocations: 51.41 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.392, allocations: 139.9 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.392, allocations: 25.7 kB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.3921, allocations: 116 kB / 1.23 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3921, allocations: 7.938 kB / 1.23 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3922, allocations: 21.72 kB / 1.23 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3923, allocations: 326.8 kB / 1.23 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3924, allocations: 23.98 kB / 1.23 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3925, allocations: 31.97 kB / 1.23 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3927, allocations: 60.8 kB / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3927, allocations: 0 / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002524/0.393, allocations: 97.55 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.393, allocations: 4 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.393, allocations: 4.172 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.393, allocations: 4 kB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3931, allocations: 15.98 kB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.3932, allocations: 7.938 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3933, allocations: 19.94 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3933, allocations: 0 / 1.23 GB, free: 4.359 MB / 0.9825 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.79e-05/0.3934, allocations: 113.8 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3934, allocations: 7.953 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.3935, allocations: 16.23 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3935, allocations: 4 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3935, allocations: 3.938 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3935, allocations: 0 / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.3937, allocations: 185.6 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3937, allocations: 0 / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.3938, allocations: 11.98 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3938, allocations: 0 / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3938, allocations: 4 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.3938, allocations: 4 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3938, allocations: 7.875 kB / 1.23 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.3941, allocations: 191.4 kB / 1.231 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.3942, allocations: 85.05 kB / 1.231 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.3942, allocations: 4 kB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3943, allocations: 11.98 kB / 1.231 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.3944, allocations: 19.92 kB / 1.231 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.3944, allocations: 3.984 kB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.3945, allocations: 101.5 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3945, allocations: 0 / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002223/0.3947, allocations: 15.94 kB / 1.231 GB, free: 3.484 MB / 0.9825 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.0001431/0.3949, allocations: 103.2 kB / 1.231 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.3952, allocations: 79.81 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3952, allocations: 0 / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.3953, allocations: 36.2 kB / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.3956, allocations: 4 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.396, allocations: 195 kB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3962, allocations: 0.7001 MB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.015e-05/0.3963, allocations: 4 kB / 1.232 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.3963, allocations: 19.42 kB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3963, allocations: 0 / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of Templates: time 0.003252/0.3996, allocations: 1.01 MB / 1.233 GB, free: 1.289 MB / 0.9825 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