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.001049/0.001049, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002549, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009791/0.0009791, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002303, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9831/0.9831, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09481/1.078, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.923/1.923, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5083/2.431, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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.033e-06/2.033e-06, allocations: 1.094 kB / 0.7297 GB, free: 4.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.475e-05, allocations: 5.125 kB / 0.7297 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001846/0.001871, allocations: 0.8627 MB / 0.7306 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.002816, allocations: 0.9346 MB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.002896, allocations: 4 kB / 0.7315 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.703e-05/0.002973, allocations: 13.94 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.003013, allocations: 13.81 kB / 0.7315 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.003129, allocations: 39.83 kB / 0.7315 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.003251, allocations: 73.94 kB / 0.7316 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.003348, allocations: 25.73 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.003621, allocations: 63.61 kB / 0.7317 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.003697, allocations: 23.91 kB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.003714, allocations: 4.656 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.003771, allocations: 8.5 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.003791, allocations: 11.94 kB / 0.7318 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.003812, allocations: 12.78 kB / 0.7318 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.003938, allocations: 43.84 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.003951, allocations: 0.625 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003952, allocations: 4.844 kB / 0.7318 GB, free: 2.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.003965, allocations: 0 / 0.7318 GB, free: 2.25 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.0004547/0.00442, allocations: 293.1 kB / 0.7321 GB, free: 1.938 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.004455, allocations: 12.03 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.004622, allocations: 99.42 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.004804, allocations: 141.6 kB / 0.7323 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.004814, allocations: 4.906 kB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.004827, allocations: 5.75 kB / 0.7323 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.004932, allocations: 62.94 kB / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004938, allocations: 192 / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.004946, allocations: 384 / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004952, allocations: 1.531 kB / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.364e-05/0.004985, allocations: 19.86 kB / 0.7324 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.005242, allocations: 176.7 kB / 0.7326 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.022e-05/0.005333, allocations: 40.17 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.005347, allocations: 4.859 kB / 0.7326 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.005362, allocations: 4 kB / 0.7326 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.005417, allocations: 35.16 kB / 0.7327 GB, free: 1.262 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.005419, allocations: 0 / 0.7327 GB, free: 1.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001207/0.005539, allocations: 43.09 kB / 0.7327 GB, free: 1.215 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.005568, allocations: 51.41 kB / 0.7328 GB, free: 1.152 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.005646, allocations: 138.2 kB / 0.7329 GB, free: 1.008 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.005666, allocations: 25.7 kB / 0.7329 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.005705, allocations: 93.64 kB / 0.733 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.005723, allocations: 11.95 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.005756, allocations: 21.64 kB / 0.733 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.005839, allocations: 314.8 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.005856, allocations: 9.344 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.005869, allocations: 7.984 kB / 0.7334 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.216e-05/0.005901, allocations: 13.12 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005903, allocations: 0.6562 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.661e-05/0.005969, allocations: 45.67 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.005986, allocations: 17.05 kB / 0.7334 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.00599, allocations: 0 / 0.7334 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.006003, allocations: 0 / 0.7334 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.006065, allocations: 12.84 kB / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.006069, allocations: 3.984 kB / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.006105, allocations: 20.41 kB / 0.7335 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.006111, allocations: 0 / 0.7335 GB, free: 404 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 (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 0.0001216/0.006232, allocations: 110.8 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.006253, allocations: 4.906 kB / 0.7336 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.006282, allocations: 12.34 kB / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.006285, allocations: 3.984 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.006286, allocations: 1.219 kB / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.006289, allocations: 0 / 0.7336 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.006403, allocations: 77.88 kB / 0.7337 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.006404, allocations: 1.625 kB / 0.7337 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.00643, allocations: 4 kB / 0.7337 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.006439, allocations: 3.953 kB / 0.7337 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.006442, allocations: 4 kB / 0.7337 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.00645, allocations: 8.578 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006451, allocations: 0 / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006452, allocations: 0.75 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.006568, allocations: 143.5 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.006584, allocations: 0.75 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.006642, allocations: 7.938 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.00668, allocations: 14 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.006684, allocations: 0 / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.006713, allocations: 28.83 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006713, allocations: 0 / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001739/0.006887, allocations: 8 kB / 0.7339 GB, free: 15.92 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 (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 0.0001089/0.006996, allocations: 77.77 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.186e-05/0.007068, allocations: 20.84 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.007073, allocations: 1.25 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.007101, allocations: 20.8 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.007324, allocations: 102.3 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.008135, allocations: 181.3 kB / 0.7343 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.008177, allocations: 59.34 kB / 0.7343 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.693e-05/0.008214, allocations: 11.23 kB / 0.7343 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.008284, allocations: 59.36 kB / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/0.008285, allocations: 0 / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.003357/0.01164, allocations: 1.012 MB / 0.7354 GB, free: 14.37 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.041362721472979]