Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001062/0.001062, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001592/0.002654, allocations: 440 kB / 10.41 MB, free: 284 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.001143/0.001143, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001645/0.002788, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9861/0.9861, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09236/1.078, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.512/2.512, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3354/2.848, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.468e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.01032/0.01033, allocations: 12.34 MB / 0.831 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007113/0.01744, allocations: 5.5 MB / 0.8363 GB, free: 0.5547 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007072/0.01815, allocations: 71.38 kB / 0.8364 GB, free: 496 kB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.01864, allocations: 250.1 kB / 0.8366 GB, free: 244 kB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.01993, allocations: 0.8779 MB / 0.8375 GB, free: 15.35 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000891/0.02082, allocations: 0.6315 MB / 0.8381 GB, free: 14.72 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.02242, allocations: 2.053 MB / 0.8401 GB, free: 12.66 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007926/0.02321, allocations: 0.5395 MB / 0.8407 GB, free: 12.11 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008997/0.02411, allocations: 0.9982 MB / 0.8416 GB, free: 11.12 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.02457, allocations: 498.4 kB / 0.8421 GB, free: 10.63 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.02464, allocations: 63.94 kB / 0.8422 GB, free: 10.57 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.02504, allocations: 279.5 kB / 0.8424 GB, free: 10.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.02517, allocations: 151.4 kB / 0.8426 GB, free: 10.15 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.02536, allocations: 235.5 kB / 0.8428 GB, free: 9.918 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.02607, allocations: 0.6775 MB / 0.8435 GB, free: 9.238 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.02609, allocations: 0 / 0.8435 GB, free: 9.238 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.212e-06/0.02609, allocations: 0 / 0.8435 GB, free: 9.238 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.0261, allocations: 0 / 0.8435 GB, free: 9.238 MB / 0.823 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.001317/0.02742, allocations: 1.166 MB / 0.8446 GB, free: 8.027 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.02746, allocations: 8.031 kB / 0.8446 GB, free: 8.02 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.02764, allocations: 108.8 kB / 0.8447 GB, free: 7.914 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.02826, allocations: 493.9 kB / 0.8452 GB, free: 7.402 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.02829, allocations: 37.38 kB / 0.8452 GB, free: 7.367 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.02835, allocations: 52.38 kB / 0.8453 GB, free: 7.316 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.02879, allocations: 496.9 kB / 0.8457 GB, free: 6.77 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.02881, allocations: 0 / 0.8457 GB, free: 6.77 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.02884, allocations: 20 kB / 0.8458 GB, free: 6.75 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.02887, allocations: 19.94 kB / 0.8458 GB, free: 6.73 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.02906, allocations: 149.6 kB / 0.8459 GB, free: 6.586 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.03057, allocations: 1.694 MB / 0.8476 GB, free: 4.84 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.03087, allocations: 174.8 kB / 0.8477 GB, free: 4.656 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.03093, allocations: 62.66 kB / 0.8478 GB, free: 4.594 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/0.03164, allocations: 0.5906 MB / 0.8484 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.03167, allocations: 34.56 kB / 0.8484 GB, free: 3.945 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.03167, allocations: 0 / 0.8484 GB, free: 3.945 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.000248/0.03192, allocations: 183.8 kB / 0.8486 GB, free: 3.762 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.03195, allocations: 55.34 kB / 0.8486 GB, free: 3.695 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.03223, allocations: 444.8 kB / 0.8491 GB, free: 3.246 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.03225, allocations: 33.7 kB / 0.8491 GB, free: 3.207 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.03239, allocations: 305 kB / 0.8494 GB, free: 2.902 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.03243, allocations: 75.38 kB / 0.8495 GB, free: 2.828 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.0325, allocations: 81.61 kB / 0.8495 GB, free: 2.742 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.03261, allocations: 366.6 kB / 0.8499 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.03266, allocations: 38.8 kB / 0.8499 GB, free: 2.336 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.03301, allocations: 268.6 kB / 0.8502 GB, free: 1.984 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.0332, allocations: 261.8 kB / 0.8504 GB, free: 1.664 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.03321, allocations: 8 kB / 0.8504 GB, free: 1.656 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002395/0.03345, allocations: 232.5 kB / 0.8507 GB, free: 1.422 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.03347, allocations: 12.03 kB / 0.8507 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.03348, allocations: 4 kB / 0.8507 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.03349, allocations: 11.94 kB / 0.8507 GB, free: 1.395 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.03364, allocations: 79.89 kB / 0.8508 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.03366, allocations: 11.94 kB / 0.8508 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.03378, allocations: 35.78 kB / 0.8508 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.03381, allocations: 23.92 kB / 0.8508 GB, free: 1.246 MB / 0.823 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.0001117/0.03392, allocations: 136.5 kB / 0.851 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.03397, allocations: 39.95 kB / 0.851 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.0342, allocations: 194 kB / 0.8512 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.03421, allocations: 4 kB / 0.8512 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.03421, allocations: 0 / 0.8512 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001811/0.03439, allocations: 355.3 kB / 0.8515 GB, free: 460 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.03495, allocations: 0.5801 MB / 0.8521 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.03495, allocations: 4 kB / 0.8521 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.03508, allocations: 59.95 kB / 0.8522 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.03516, allocations: 67.56 kB / 0.8522 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.03517, allocations: 4 kB / 0.8522 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.03518, allocations: 4 kB / 0.8522 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.03518, allocations: 4 kB / 0.8522 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.03518, allocations: 4.031 kB / 0.8522 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.03546, allocations: 367.7 kB / 0.8526 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.0355, allocations: 8 kB / 0.8526 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.0356, allocations: 12.02 kB / 0.8526 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.03563, allocations: 15.97 kB / 0.8526 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.03565, allocations: 12 kB / 0.8526 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001356/0.03578, allocations: 187.2 kB / 0.8528 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.71e-07/0.03578, allocations: 0 / 0.8528 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000336/0.03612, allocations: 195.5 kB / 0.853 GB, free: 14.87 MB / 0.8386 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.0002488/0.03637, allocations: 160.1 kB / 0.8531 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.03656, allocations: 150 kB / 0.8533 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.03658, allocations: 8.281 kB / 0.8533 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.03669, allocations: 91.52 kB / 0.8534 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.0378, allocations: 1.706 MB / 0.8551 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.04232, allocations: 0.9841 MB / 0.856 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.581e-05/0.04242, allocations: 137.3 kB / 0.8561 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.0426, allocations: 76.52 kB / 0.8562 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.04294, allocations: 231.1 kB / 0.8564 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of SimCode: time 1.042e-06/0.04294, allocations: 0 / 0.8564 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of Templates: time 0.01359/0.05653, allocations: 10.73 MB / 0.8669 GB, free: 492 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Components.Validation.Tanks/Buildings_latest_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: 5.870160324499011]