Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Validation.Tanks.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.0008006/0.0008006, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001906, 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.0007084/0.0007084, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009874/0.001696, 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.9184/0.9184, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0839/1.002, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.758/1.758, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5246/2.283, 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.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.231e-05, allocations: 8.359 kB / 0.7296 GB, free: 4.43 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.01051/0.01053, allocations: 12.36 MB / 0.7417 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.008279/0.01881, allocations: 5.49 MB / 0.7471 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.02013, allocations: 71.38 kB / 0.7471 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.02071, allocations: 250 kB / 0.7474 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.02258, allocations: 0.8772 MB / 0.7482 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.02375, allocations: 0.6477 MB / 0.7489 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002221/0.02597, allocations: 2.073 MB / 0.7509 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.02737, allocations: 0.5751 MB / 0.7514 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.02871, allocations: 1.012 MB / 0.7524 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.02938, allocations: 495.6 kB / 0.7529 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.915e-05/0.02948, allocations: 60 kB / 0.753 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.03007, allocations: 276.7 kB / 0.7532 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.0302, allocations: 159.4 kB / 0.7534 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.0304, allocations: 231.6 kB / 0.7536 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009318/0.03134, allocations: 0.6857 MB / 0.7543 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.03135, allocations: 3.938 kB / 0.7543 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/0.03135, allocations: 0.75 kB / 0.7543 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.03137, allocations: 0 / 0.7543 GB, free: 11.23 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001257/0.03263, allocations: 1.167 MB / 0.7554 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.03267, allocations: 14.78 kB / 0.7554 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.03286, allocations: 108.7 kB / 0.7555 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.03347, allocations: 496.1 kB / 0.756 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.03349, allocations: 37.38 kB / 0.756 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.03355, allocations: 52.38 kB / 0.7561 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.03399, allocations: 0.4903 MB / 0.7566 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.034, allocations: 0 / 0.7566 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.03403, allocations: 16 kB / 0.7566 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.03405, allocations: 16 kB / 0.7566 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.03424, allocations: 155.4 kB / 0.7568 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.03569, allocations: 1.687 MB / 0.7584 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.03596, allocations: 180.3 kB / 0.7586 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.03601, allocations: 43.67 kB / 0.7586 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007563/0.03677, allocations: 0.585 MB / 0.7592 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.03679, allocations: 34.56 kB / 0.7592 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.03679, allocations: 1.188 kB / 0.7592 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.000232/0.03703, allocations: 187 kB / 0.7594 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.03705, allocations: 60.31 kB / 0.7595 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.03741, allocations: 452.7 kB / 0.7599 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.03744, allocations: 31.02 kB / 0.7599 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.03758, allocations: 309.1 kB / 0.7602 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.03763, allocations: 79.3 kB / 0.7603 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.03772, allocations: 81.55 kB / 0.7604 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.03783, allocations: 367.7 kB / 0.7607 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.03788, allocations: 34.8 kB / 0.7607 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.03803, allocations: 277.9 kB / 0.761 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.03869, allocations: 251 kB / 0.7612 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.0387, allocations: 0.625 kB / 0.7613 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002495/0.03895, allocations: 245.3 kB / 0.7615 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.03896, allocations: 7.125 kB / 0.7615 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.03897, allocations: 8.906 kB / 0.7615 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.03898, allocations: 4 kB / 0.7615 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.03913, allocations: 92.95 kB / 0.7616 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.03913, allocations: 7.938 kB / 0.7616 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.03927, allocations: 35.73 kB / 0.7616 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.03929, allocations: 21.83 kB / 0.7617 GB, free: 3.27 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001127/0.03941, allocations: 140.5 kB / 0.7618 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.03945, allocations: 39.98 kB / 0.7618 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.03974, allocations: 193.8 kB / 0.762 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.03975, allocations: 0.9688 kB / 0.762 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.03975, allocations: 0 / 0.762 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001675/0.03991, allocations: 359.4 kB / 0.7624 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.04047, allocations: 0.574 MB / 0.7629 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.04048, allocations: 4 kB / 0.7629 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.0406, allocations: 55.83 kB / 0.763 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.705e-05/0.04069, allocations: 75.52 kB / 0.763 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.0407, allocations: 4.594 kB / 0.763 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.04071, allocations: 4 kB / 0.7631 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.04071, allocations: 5 kB / 0.7631 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.04071, allocations: 3.984 kB / 0.7631 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.04102, allocations: 364.3 kB / 0.7634 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.04105, allocations: 8.844 kB / 0.7634 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.04116, allocations: 7.984 kB / 0.7634 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.04118, allocations: 17.56 kB / 0.7634 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.0412, allocations: 12 kB / 0.7635 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000154/0.04135, allocations: 195.2 kB / 0.7636 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.04135, allocations: 0 / 0.7636 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004427/0.0418, allocations: 196.1 kB / 0.7638 GB, free: 0.8945 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002482/0.04204, allocations: 163.4 kB / 0.764 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.04225, allocations: 154.8 kB / 0.7641 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/0.04227, allocations: 9.469 kB / 0.7641 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.04237, allocations: 86.31 kB / 0.7642 GB, free: 500 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.0438, allocations: 1.8 MB / 0.766 GB, free: 14.38 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.04836, allocations: 0.996 MB / 0.767 GB, free: 13.34 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.187e-05/0.04844, allocations: 137.2 kB / 0.7671 GB, free: 13.18 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.04869, allocations: 85.02 kB / 0.7672 GB, free: 13.11 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.04902, allocations: 231.1 kB / 0.7674 GB, free: 12.88 MB / 0.7449 GB Notification: Performance of SimCode: time 1.293e-06/0.04902, allocations: 0 / 0.7674 GB, free: 12.88 MB / 0.7449 GB Notification: Performance of Templates: time 0.01337/0.0624, allocations: 10.95 MB / 0.7781 GB, free: 2.242 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_12_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Components.Validation.Tanks/Buildings_12_Buildings.Templates.Components.Validation.Tanks.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.978653695434332]