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.001266/0.001266, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002617, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007498/0.0007498, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001783, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08841/1.095, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.331/2.331, allocations: 446.7 MB / 0.6745 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.288/2.619, allocations: 145.9 MB / 0.817 GB, free: 4.258 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.983e-06/1.983e-06, allocations: 0 / 0.8183 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.298e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.949 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.009915/0.009938, allocations: 12.34 MB / 0.8303 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007575/0.01751, allocations: 5.485 MB / 0.8357 GB, free: 1.043 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009957/0.01851, allocations: 75.31 kB / 0.8358 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.01904, allocations: 254.1 kB / 0.836 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.0206, allocations: 0.874 MB / 0.8369 GB, free: 15.84 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.02172, allocations: 0.6237 MB / 0.8375 GB, free: 15.21 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002158/0.02388, allocations: 2.06 MB / 0.8395 GB, free: 13.15 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008656/0.02475, allocations: 0.5335 MB / 0.84 GB, free: 12.61 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.02591, allocations: 1.006 MB / 0.841 GB, free: 11.61 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.0264, allocations: 498.4 kB / 0.8415 GB, free: 11.12 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.043e-05/0.02647, allocations: 67.94 kB / 0.8415 GB, free: 11.05 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005305/0.027, allocations: 287.4 kB / 0.8418 GB, free: 10.77 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.02712, allocations: 155.4 kB / 0.842 GB, free: 10.62 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.02733, allocations: 235.6 kB / 0.8422 GB, free: 10.39 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008256/0.02815, allocations: 0.6697 MB / 0.8428 GB, free: 9.719 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.574e-05/0.02817, allocations: 0 / 0.8428 GB, free: 9.719 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.713e-06/0.02817, allocations: 0 / 0.8428 GB, free: 9.719 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.02819, allocations: 4 kB / 0.8428 GB, free: 9.715 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.001186/0.02937, allocations: 1.166 MB / 0.844 GB, free: 8.504 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.02941, allocations: 12.03 kB / 0.844 GB, free: 8.492 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.02959, allocations: 104.8 kB / 0.8441 GB, free: 8.391 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.03016, allocations: 482 kB / 0.8445 GB, free: 7.891 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.03018, allocations: 41.38 kB / 0.8446 GB, free: 7.852 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.03023, allocations: 56.36 kB / 0.8446 GB, free: 7.797 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.03079, allocations: 0.4892 MB / 0.8451 GB, free: 7.246 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.03081, allocations: 7.938 kB / 0.8451 GB, free: 7.238 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.03083, allocations: 20 kB / 0.8451 GB, free: 7.219 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.03086, allocations: 19.94 kB / 0.8452 GB, free: 7.199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.03104, allocations: 145.6 kB / 0.8453 GB, free: 7.059 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.03247, allocations: 1.694 MB / 0.847 GB, free: 5.312 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.03273, allocations: 170.8 kB / 0.8471 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.03279, allocations: 55.64 kB / 0.8472 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/0.03352, allocations: 0.5906 MB / 0.8478 GB, free: 4.469 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.03354, allocations: 38.5 kB / 0.8478 GB, free: 4.422 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.03354, allocations: 0 / 0.8478 GB, free: 4.422 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0002288/0.03377, allocations: 181.5 kB / 0.848 GB, free: 4.238 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.03379, allocations: 51.41 kB / 0.848 GB, free: 4.176 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.03415, allocations: 448.8 kB / 0.8484 GB, free: 3.723 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.03418, allocations: 29.7 kB / 0.8485 GB, free: 3.688 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.03431, allocations: 309 kB / 0.8488 GB, free: 3.379 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.03435, allocations: 75.38 kB / 0.8488 GB, free: 3.305 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.03443, allocations: 85.39 kB / 0.8489 GB, free: 3.215 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.03453, allocations: 370.6 kB / 0.8493 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.03458, allocations: 26.81 kB / 0.8493 GB, free: 2.816 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.0347, allocations: 280.5 kB / 0.8496 GB, free: 2.453 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.03488, allocations: 253.5 kB / 0.8498 GB, free: 2.141 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.03488, allocations: 0 / 0.8498 GB, free: 2.141 MB / 0.823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002284/0.03511, allocations: 235.9 kB / 0.85 GB, free: 1.902 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.03513, allocations: 8 kB / 0.85 GB, free: 1.895 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.03513, allocations: 4 kB / 0.85 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.03515, allocations: 8 kB / 0.85 GB, free: 1.883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.0353, allocations: 84.45 kB / 0.8501 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.0353, allocations: 8 kB / 0.8501 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.03544, allocations: 39.78 kB / 0.8502 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.03546, allocations: 19.92 kB / 0.8502 GB, free: 1.734 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.0001101/0.03557, allocations: 144.4 kB / 0.8503 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.03561, allocations: 35.95 kB / 0.8504 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.03585, allocations: 189.1 kB / 0.8505 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.03585, allocations: 4 kB / 0.8505 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.03586, allocations: 0 / 0.8505 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001733/0.03603, allocations: 363.2 kB / 0.8509 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007207/0.03675, allocations: 0.5805 MB / 0.8515 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.03675, allocations: 0 / 0.8515 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.03689, allocations: 55.89 kB / 0.8515 GB, free: 264 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.03697, allocations: 63.58 kB / 0.8516 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.03698, allocations: 7.938 kB / 0.8516 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.03699, allocations: 8 kB / 0.8516 GB, free: 184 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.03699, allocations: 0 / 0.8516 GB, free: 184 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.037, allocations: 16.11 kB / 0.8516 GB, free: 168 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.03727, allocations: 349.3 kB / 0.8519 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.03731, allocations: 7.938 kB / 0.8519 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.03741, allocations: 11.98 kB / 0.852 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.03744, allocations: 15.97 kB / 0.852 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.03745, allocations: 8 kB / 0.852 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001281/0.03758, allocations: 195.2 kB / 0.8522 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.03758, allocations: 0 / 0.8522 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003763/0.03795, allocations: 191.5 kB / 0.8524 GB, free: 15.37 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.0002282/0.03818, allocations: 160.2 kB / 0.8525 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.03837, allocations: 155 kB / 0.8527 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/0.03838, allocations: 8 kB / 0.8527 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.637e-05/0.03845, allocations: 66.25 kB / 0.8527 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.03909, allocations: 331.7 kB / 0.853 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/0.04373, allocations: 0.9865 MB / 0.854 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.329e-05/0.04383, allocations: 141.3 kB / 0.8541 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.04406, allocations: 84.5 kB / 0.8542 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.04441, allocations: 239 kB / 0.8544 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of SimCode: time 1.002e-06/0.04441, allocations: 4 kB / 0.8544 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.01445/0.05886, allocations: 10.78 MB / 0.865 GB, free: 2.625 MB / 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.555323193781078]