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.00149/0.00149, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002379/0.003869, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001466/0.001466, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.00317, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1073/1.121, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.925/1.925, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.572/2.497, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.552e-05, allocations: 10.91 kB / 0.7294 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001421/0.001447, allocations: 0.8917 MB / 0.7303 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.002387, allocations: 0.9583 MB / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.002486, allocations: 4 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.929e-05/0.002575, allocations: 13.23 kB / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.002619, allocations: 16.38 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.002751, allocations: 46.09 kB / 0.7313 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.003081, allocations: 102.1 kB / 0.7314 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.003192, allocations: 31.95 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.003372, allocations: 76.44 kB / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.003435, allocations: 32.67 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.003453, allocations: 8 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.454e-05/0.003507, allocations: 12.66 kB / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.003521, allocations: 11.94 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.003546, allocations: 20.88 kB / 0.7316 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003668, allocations: 59.7 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.00368, allocations: 0 / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003681, allocations: 4.594 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.003691, allocations: 0.875 kB / 0.7316 GB, free: 2.219 MB / 0.698 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.0003522/0.004044, allocations: 313.5 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.004073, allocations: 8.031 kB / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.004215, allocations: 98.02 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.004351, allocations: 148.9 kB / 0.7322 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.004358, allocations: 0.9688 kB / 0.7322 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.004368, allocations: 12.31 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.004479, allocations: 84.61 kB / 0.7323 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.004485, allocations: 192 / 0.7323 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.004493, allocations: 8.375 kB / 0.7323 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.004498, allocations: 384 / 0.7323 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.004526, allocations: 16.75 kB / 0.7323 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.004774, allocations: 192.9 kB / 0.7325 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.907e-05/0.004853, allocations: 43.95 kB / 0.7325 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.004869, allocations: 12.86 kB / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.004881, allocations: 0 / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.004902, allocations: 38.5 kB / 0.7326 GB, free: 1.156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.485e-06/0.004904, allocations: 0.875 kB / 0.7326 GB, free: 1.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001031/0.005007, allocations: 41.78 kB / 0.7326 GB, free: 1.109 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.005034, allocations: 60.23 kB / 0.7327 GB, free: 1.039 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.822e-05/0.005092, allocations: 130.7 kB / 0.7328 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.005109, allocations: 31.45 kB / 0.7328 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.00515, allocations: 99.97 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.005165, allocations: 15.88 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.005195, allocations: 17.72 kB / 0.7329 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.005272, allocations: 318.8 kB / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.005286, allocations: 4.5 kB / 0.7333 GB, free: 408 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.005298, allocations: 9.219 kB / 0.7333 GB, free: 400 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.005332, allocations: 24.77 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.005334, allocations: 4 kB / 0.7333 GB, free: 368 kB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.929e-05/0.005393, allocations: 50.19 kB / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.005405, allocations: 5.125 kB / 0.7333 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.00541, allocations: 4 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.005416, allocations: 0 / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.005483, allocations: 8.703 kB / 0.7334 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.005486, allocations: 3.984 kB / 0.7334 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.005517, allocations: 16.47 kB / 0.7334 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.005522, allocations: 1.031 kB / 0.7334 GB, free: 276 kB / 0.698 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 5.657e-05/0.005579, allocations: 113.8 kB / 0.7335 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.005595, allocations: 12.47 kB / 0.7335 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.005619, allocations: 13.98 kB / 0.7335 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005621, allocations: 0 / 0.7335 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.005624, allocations: 4 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005627, allocations: 0 / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.071e-05/0.005717, allocations: 81.81 kB / 0.7336 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005718, allocations: 1.219 kB / 0.7336 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.005751, allocations: 7.984 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.005761, allocations: 12.02 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005762, allocations: 1.344 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.005766, allocations: 0 / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.005767, allocations: 0 / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.005768, allocations: 4.047 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.049e-05/0.005859, allocations: 144.1 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.005879, allocations: 16.23 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.384e-05/0.005923, allocations: 4.656 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.005958, allocations: 16.66 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.005962, allocations: 3.984 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.088e-05/0.005983, allocations: 28.7 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005983, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001179/0.006101, allocations: 16.75 kB / 0.7338 GB, free: 15.76 MB / 0.7136 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 7.942e-05/0.00618, allocations: 73.8 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.006243, allocations: 32.84 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.006249, allocations: 0 / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-05/0.006272, allocations: 21.28 kB / 0.734 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.006418, allocations: 17.22 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.007069, allocations: 198.9 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.556e-05/0.007105, allocations: 59.34 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.007137, allocations: 8.828 kB / 0.7342 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.007196, allocations: 62.12 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.007196, allocations: 0 / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.002649/0.009845, allocations: 1.15 MB / 0.7354 GB, free: 14.15 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1723778853192925]