Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.0007915/0.0007915, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.0018, 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.0007267/0.0007267, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009281/0.001655, allocations: 479.5 kB / 11.82 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.9305/0.9305, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09412/1.025, allocations: 53.66 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.908/1.908, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5269/2.435, allocations: 123.3 MB / 0.7283 GB, free: 5.738 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.601e-05, allocations: 4.562 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001574/0.0016, allocations: 0.825 MB / 0.7305 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.002391, allocations: 0.9198 MB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.002429, allocations: 0 / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.002456, allocations: 5 kB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.00251, allocations: 15.44 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.169e-05/0.002601, allocations: 39.08 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.002704, allocations: 85.8 kB / 0.7315 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.002792, allocations: 24.8 kB / 0.7315 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.002906, allocations: 64.53 kB / 0.7316 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.002982, allocations: 39.33 kB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.003007, allocations: 8 kB / 0.7316 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.00302, allocations: 8 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.003042, allocations: 14.73 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.003067, allocations: 15.94 kB / 0.7317 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.003172, allocations: 52.27 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.003184, allocations: 4.812 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003184, allocations: 0 / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.003199, allocations: 5.344 kB / 0.7317 GB, free: 2.344 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004351/0.003634, allocations: 284.4 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.003666, allocations: 12.03 kB / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.003702, allocations: 9.453 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.003797, allocations: 121.7 kB / 0.7321 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.003818, allocations: 5.812 kB / 0.7321 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.003833, allocations: 4.375 kB / 0.7321 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.003976, allocations: 99.17 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.003984, allocations: 3.938 kB / 0.7322 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.003992, allocations: 0 / 0.7322 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.003999, allocations: 4.5 kB / 0.7322 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.055e-05/0.004039, allocations: 17.58 kB / 0.7323 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.004317, allocations: 204.1 kB / 0.7325 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.004534, allocations: 67.11 kB / 0.7325 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.004561, allocations: 22.16 kB / 0.7325 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.004578, allocations: 4 kB / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.004598, allocations: 30.56 kB / 0.7326 GB, free: 1.391 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.004599, allocations: 1.594 kB / 0.7326 GB, free: 1.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001353/0.004734, allocations: 65.61 kB / 0.7326 GB, free: 1.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.00476, allocations: 55.41 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.004823, allocations: 135.9 kB / 0.7328 GB, free: 1.109 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.004834, allocations: 25.7 kB / 0.7328 GB, free: 1.078 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.004869, allocations: 92.06 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.004888, allocations: 20.5 kB / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.004921, allocations: 25.69 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.004991, allocations: 319.9 kB / 0.7333 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.005011, allocations: 15.97 kB / 0.7333 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.00503, allocations: 4.969 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.005078, allocations: 32.83 kB / 0.7333 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005081, allocations: 4.719 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.811e-05/0.005149, allocations: 57.62 kB / 0.7334 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.00516, allocations: 6.031 kB / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005165, allocations: 8.891 kB / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.005175, allocations: 0 / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.005253, allocations: 16.48 kB / 0.7334 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005255, allocations: 4 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.00529, allocations: 13.48 kB / 0.7334 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.005295, allocations: 0 / 0.7334 GB, free: 460 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 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.721e-05/0.005352, allocations: 121.8 kB / 0.7336 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.00537, allocations: 9.953 kB / 0.7336 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.982e-05/0.00547, allocations: 74.02 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.005472, allocations: 0 / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.005473, allocations: 1.344 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005475, allocations: 0 / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.171e-05/0.005567, allocations: 93.81 kB / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005568, allocations: 0 / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.00562, allocations: 21.23 kB / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.005631, allocations: 19.88 kB / 0.7338 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005633, allocations: 0 / 0.7338 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.005639, allocations: 1.25 kB / 0.7338 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.00564, allocations: 0 / 0.7338 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00564, allocations: 0 / 0.7338 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.005747, allocations: 164.9 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.005757, allocations: 0 / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.571e-05/0.005803, allocations: 12.52 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.005856, allocations: 21 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.005862, allocations: 8 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.756e-05/0.005879, allocations: 16.84 kB / 0.734 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005879, allocations: 4.844 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001183/0.005998, allocations: 12 kB / 0.734 GB, free: 15.83 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 6.443e-05/0.006062, allocations: 77.64 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.613e-05/0.006148, allocations: 52.12 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.006154, allocations: 0 / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.006203, allocations: 32.78 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.006362, allocations: 75.33 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.006724, allocations: 173 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.443e-05/0.006758, allocations: 62.39 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.006798, allocations: 16.58 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.006872, allocations: 68.11 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.006873, allocations: 0.75 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.002826/0.009699, allocations: 1.683 MB / 0.7362 GB, free: 13.61 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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: 4.940479452721775]