Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 217.6 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.599/1.599, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.361/3.361, allocations: 0.49 GB / 0.7951 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 70.36 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4033, allocations: 176.1 MB / 1.326 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002463/0.4057, allocations: 0.8845 MB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.4072, allocations: 0.9328 MB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.4073, allocations: 7.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.4074, allocations: 15.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.4075, allocations: 11.88 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.4077, allocations: 43.83 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.4079, allocations: 95.77 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.4081, allocations: 35.97 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.4083, allocations: 47.78 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.4084, allocations: 51.77 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.4084, allocations: 8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.256e-05/0.4085, allocations: 8 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.4085, allocations: 15.98 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.4085, allocations: 43.73 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.4087, allocations: 107.5 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4088, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4088, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.4088, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 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.0007529/0.4095, allocations: 337.9 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4096, allocations: 12.03 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.4097, allocations: 16.88 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.41, allocations: 146.3 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.41, allocations: 4.375 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.4101, allocations: 8.375 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.4103, allocations: 102.1 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4103, allocations: 192 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.4103, allocations: 3.938 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4103, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.4106, allocations: 71.94 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.4112, allocations: 319.7 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.4114, allocations: 58.55 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.4115, allocations: 40.92 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4116, allocations: 3.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4116, allocations: 38.56 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4116, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004554/0.4121, allocations: 121.5 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.4121, allocations: 55.41 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.4122, allocations: 139.4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4123, allocations: 29.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.4123, allocations: 108 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.4124, allocations: 11.95 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.4124, allocations: 21.7 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4126, allocations: 310.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.4127, allocations: 35.97 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.4128, allocations: 31.97 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.413, allocations: 60.94 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.413, allocations: 3.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002533/0.4132, allocations: 97.59 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4133, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4133, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4133, allocations: 4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.4134, allocations: 11.98 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4134, allocations: 3.938 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4135, allocations: 19.97 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4135, allocations: 0 / 1.331 GB, free: 12.72 MB / 1.029 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.0001265/0.4136, allocations: 113.8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.4137, allocations: 7.953 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.4137, allocations: 16.33 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4137, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4137, allocations: 3.938 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.4137, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.4139, allocations: 168.6 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4139, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.414, allocations: 11.98 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.414, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.414, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.414, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.414, allocations: 12.12 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.4143, allocations: 191.4 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.4144, allocations: 3.953 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.4144, allocations: 11.98 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.4145, allocations: 11.98 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.4146, allocations: 15.92 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4146, allocations: 3.984 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.981e-05/0.4147, allocations: 108.7 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4147, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002306/0.4149, allocations: 19.83 kB / 1.331 GB, free: 11.95 MB / 1.029 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.0001569/0.4151, allocations: 103.2 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.4153, allocations: 72 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4154, allocations: 3.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4155, allocations: 31.97 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.4157, allocations: 8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.4162, allocations: 197.2 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.4166, allocations: 0.6961 MB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.598e-05/0.4166, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.4167, allocations: 15.42 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.4167, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of Templates: time 0.004068/0.4207, allocations: 1.045 MB / 1.334 GB, free: 9.734 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.48257000092417]