Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.0008014/0.0008014, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001881, 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.001335/0.001335, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002655, 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.017/1.017, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09624/1.113, 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.926/1.926, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5413/2.467, allocations: 123.3 MB / 0.728 GB, free: 5.812 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.311e-05, allocations: 3.344 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002001/0.002024, allocations: 0.8169 MB / 0.7301 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.003168, allocations: 0.9213 MB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.003212, allocations: 0 / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.003246, allocations: 7.875 kB / 0.731 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.003308, allocations: 11.98 kB / 0.7311 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.003432, allocations: 39.94 kB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003568, allocations: 78.89 kB / 0.7312 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.003687, allocations: 24.69 kB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.003842, allocations: 63.98 kB / 0.7313 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.003939, allocations: 43.73 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.003974, allocations: 8 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.003992, allocations: 12.47 kB / 0.7313 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.004016, allocations: 8 kB / 0.7313 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.00406, allocations: 20.88 kB / 0.7313 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.004197, allocations: 51.77 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.966e-05/0.004216, allocations: 0.875 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004218, allocations: 0 / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.004238, allocations: 1.438 kB / 0.7314 GB, free: 2.441 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.0005635/0.004801, allocations: 292.4 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.004842, allocations: 8.031 kB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.004888, allocations: 13.58 kB / 0.7317 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.005014, allocations: 121.6 kB / 0.7318 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.005042, allocations: 9.062 kB / 0.7318 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.005057, allocations: 4.375 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.005264, allocations: 88.61 kB / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.005276, allocations: 3.938 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.005288, allocations: 4 kB / 0.7319 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.005296, allocations: 1.062 kB / 0.7319 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.707e-05/0.005363, allocations: 19.98 kB / 0.7319 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.005769, allocations: 197.2 kB / 0.7321 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.006106, allocations: 67.14 kB / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.006147, allocations: 21.7 kB / 0.7322 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.006183, allocations: 8 kB / 0.7322 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.006215, allocations: 35.25 kB / 0.7322 GB, free: 1.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.006217, allocations: 0 / 0.7322 GB, free: 1.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002042/0.006421, allocations: 64.2 kB / 0.7323 GB, free: 1.414 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.006476, allocations: 55.39 kB / 0.7324 GB, free: 1.348 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.006584, allocations: 126.6 kB / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.006605, allocations: 29.7 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.006662, allocations: 92.06 kB / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.006694, allocations: 20.69 kB / 0.7326 GB, free: 1.062 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.006739, allocations: 25.69 kB / 0.7326 GB, free: 1.031 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.00686, allocations: 318.8 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.006895, allocations: 8.609 kB / 0.733 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.006922, allocations: 9.062 kB / 0.733 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.012e-05/0.006992, allocations: 32.77 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.007, allocations: 8.656 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001121/0.007112, allocations: 58.69 kB / 0.7331 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.007127, allocations: 4 kB / 0.7331 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.007134, allocations: 3.984 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.007144, allocations: 1.031 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.007267, allocations: 23.98 kB / 0.7331 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.007271, allocations: 0.5312 kB / 0.7331 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.231e-05/0.007323, allocations: 17.7 kB / 0.7331 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.00733, allocations: 0 / 0.7331 GB, free: 0.543 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 (reaToInt1.y,reaToInt.y,min1.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 8.772e-05/0.007417, allocations: 121.7 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.007445, allocations: 7.984 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.007593, allocations: 67.31 kB / 0.7333 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.007598, allocations: 4 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007601, allocations: 1.844 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007604, allocations: 0 / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.007739, allocations: 93.94 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007741, allocations: 0 / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.00784, allocations: 19.98 kB / 0.7334 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.007855, allocations: 16.62 kB / 0.7334 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.007857, allocations: 3.938 kB / 0.7334 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.007864, allocations: 4.625 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.007865, allocations: 0.75 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007866, allocations: 0 / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.00801, allocations: 157.6 kB / 0.7336 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.008027, allocations: 4 kB / 0.7336 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.008131, allocations: 12.05 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.008196, allocations: 24.53 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.008204, allocations: 0 / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.00823, allocations: 21.91 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.00823, allocations: 0 / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001899/0.00842, allocations: 12 kB / 0.7337 GB, free: 15.93 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 (min1.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 9.737e-05/0.008518, allocations: 84.27 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.008637, allocations: 41.42 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.008645, allocations: 4 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.777e-05/0.008703, allocations: 37.89 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.008906, allocations: 28.2 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.009491, allocations: 170.7 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.984e-05/0.00954, allocations: 59.34 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.329e-05/0.009604, allocations: 14.69 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.009715, allocations: 69.36 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/0.009716, allocations: 0 / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.004485/0.0142, allocations: 1.746 MB / 0.7358 GB, free: 13.72 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.168096329085529]