Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.0008072/0.0008072, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001248/0.002055, 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.0007593/0.0007593, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000982/0.001741, 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 0.9681/0.9681, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09833/1.066, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.909/1.909, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5474/2.457, 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0.5469 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.685e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001699/0.001716, allocations: 0.8582 MB / 0.7302 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002806, allocations: 0.9311 MB / 0.7311 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.002886, allocations: 7.938 kB / 0.7312 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.767e-05/0.002943, allocations: 18.19 kB / 0.7312 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.764e-05/0.002981, allocations: 10.39 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.003084, allocations: 31.89 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.003215, allocations: 81.91 kB / 0.7313 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003326, allocations: 16.66 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.003486, allocations: 68.3 kB / 0.7314 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.003573, allocations: 18.05 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.003597, allocations: 11.94 kB / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.003667, allocations: 8 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.003685, allocations: 8 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.003712, allocations: 11.94 kB / 0.7314 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003844, allocations: 44.33 kB / 0.7315 GB, free: 2.375 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.796e-05/0.003862, allocations: 5.438 kB / 0.7315 GB, free: 2.371 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.92e-07/0.003862, allocations: 0 / 0.7315 GB, free: 2.371 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.003881, allocations: 3.938 kB / 0.7315 GB, free: 2.367 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004719/0.004353, allocations: 292.3 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.004392, allocations: 12.69 kB / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.004575, allocations: 94.66 kB / 0.7319 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.004751, allocations: 150.6 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.00476, allocations: 4.375 kB / 0.732 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.00477, allocations: 4.375 kB / 0.732 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.004883, allocations: 63.69 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.004891, allocations: 192 / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.004903, allocations: 8.375 kB / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.004908, allocations: 0.875 kB / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.734e-05/0.004946, allocations: 16.47 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.005267, allocations: 181.3 kB / 0.7323 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.33e-05/0.005361, allocations: 26.56 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.005381, allocations: 13.73 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.005396, allocations: 0 / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.005427, allocations: 39.12 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.005428, allocations: 0 / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001455/0.005574, allocations: 42.5 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.005613, allocations: 57.16 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.005709, allocations: 134.6 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.005735, allocations: 29.7 kB / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.005819, allocations: 88.12 kB / 0.7327 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.005841, allocations: 7.938 kB / 0.7327 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.005884, allocations: 18.3 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.005995, allocations: 322.8 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.006009, allocations: 5 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.006023, allocations: 7.984 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.006056, allocations: 9.672 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.006059, allocations: 0 / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.234e-05/0.006131, allocations: 50.73 kB / 0.7331 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.006147, allocations: 7.938 kB / 0.7331 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.006154, allocations: 4 kB / 0.7331 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.006165, allocations: 4.719 kB / 0.7331 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.006224, allocations: 3.984 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.006227, allocations: 4.531 kB / 0.7331 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.006263, allocations: 12.83 kB / 0.7331 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.00627, allocations: 3.984 kB / 0.7331 GB, free: 0.5195 MB / 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 (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 prepare postOptimizeDAE: time 6.623e-05/0.006336, allocations: 106.7 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.006366, allocations: 15.88 kB / 0.7332 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.0064, allocations: 9.969 kB / 0.7333 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.006402, allocations: 0 / 0.7333 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.006404, allocations: 0 / 0.7333 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.006409, allocations: 3.984 kB / 0.7333 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.006543, allocations: 86.45 kB / 0.7333 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006544, allocations: 0 / 0.7333 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.006574, allocations: 9.062 kB / 0.7333 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.006583, allocations: 3.953 kB / 0.7334 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.006586, allocations: 0 / 0.7334 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.006594, allocations: 4.844 kB / 0.7334 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.006595, allocations: 4 kB / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.006598, allocations: 5.234 kB / 0.7334 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.467e-05/0.006693, allocations: 131.5 kB / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.006711, allocations: 0 / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.006773, allocations: 8.969 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.006855, allocations: 15.97 kB / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.006859, allocations: 0 / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.006887, allocations: 27.89 kB / 0.7335 GB, free: 56 kB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.006887, allocations: 1.75 kB / 0.7335 GB, free: 56 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.00022/0.007107, allocations: 12 kB / 0.7336 GB, free: 44 kB / 0.698 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 (3): * Single equations (assignments): 3 * 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 9.479e-05/0.007201, allocations: 80.47 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.572e-05/0.007277, allocations: 21.95 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.007283, allocations: 4 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.007304, allocations: 8.859 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.007517, allocations: 20.72 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.008371, allocations: 169.5 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.008414, allocations: 64.34 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.008449, allocations: 9.391 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.008515, allocations: 59.36 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/0.008516, allocations: 0 / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of Templates: time 0.003145/0.01166, allocations: 1.018 MB / 0.735 GB, free: 14.59 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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: 4.855337222106755]