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.001795/0.001795, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002282/0.002282, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.282/3.282, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 69.94 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3525, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.04458/0.3971, allocations: 38.56 MB / 1.402 GB, free: 6.848 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.4132, allocations: 10.42 MB / 1.412 GB, free: 12.4 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.4148, allocations: 71.38 kB / 1.412 GB, free: 12.33 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.4161, allocations: 429.2 kB / 1.413 GB, free: 11.91 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.4195, allocations: 1.219 MB / 1.414 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.4215, allocations: 0.7543 MB / 1.415 GB, free: 9.934 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002784/0.4242, allocations: 2.101 MB / 1.417 GB, free: 7.824 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009037/0.4251, allocations: 0.5246 MB / 1.417 GB, free: 7.289 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.4275, allocations: 1.01 MB / 1.418 GB, free: 6.277 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008384/0.4284, allocations: 0.5638 MB / 1.419 GB, free: 5.711 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.4285, allocations: 68 kB / 1.419 GB, free: 5.645 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.4297, allocations: 0.5107 MB / 1.419 GB, free: 5.133 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.43, allocations: 191.2 kB / 1.42 GB, free: 4.945 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.4303, allocations: 326.5 kB / 1.42 GB, free: 4.625 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.4321, allocations: 1.253 MB / 1.421 GB, free: 3.367 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4321, allocations: 0 / 1.421 GB, free: 3.367 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4321, allocations: 4 kB / 1.421 GB, free: 3.363 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.4321, allocations: 0 / 1.421 GB, free: 3.363 MB / 1.107 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.001762/0.4339, allocations: 1.006 MB / 1.422 GB, free: 2.324 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4339, allocations: 12.03 kB / 1.422 GB, free: 2.312 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.4342, allocations: 88.42 kB / 1.422 GB, free: 2.227 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.4354, allocations: 0.6401 MB / 1.423 GB, free: 1.562 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.4355, allocations: 37.38 kB / 1.423 GB, free: 1.527 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.005e-05/0.4356, allocations: 51.94 kB / 1.423 GB, free: 1.477 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.4366, allocations: 0.6339 MB / 1.424 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.4366, allocations: 7.938 kB / 1.424 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.4366, allocations: 20 kB / 1.424 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.4367, allocations: 12 kB / 1.424 GB, free: 0.75 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007123/0.4374, allocations: 383.7 kB / 1.424 GB, free: 384 kB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.4402, allocations: 1.966 MB / 1.426 GB, free: 14.34 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.4408, allocations: 239.6 kB / 1.426 GB, free: 14.1 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.441, allocations: 112.8 kB / 1.426 GB, free: 13.99 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/0.4427, allocations: 0.7262 MB / 1.427 GB, free: 13.24 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.4427, allocations: 46.48 kB / 1.427 GB, free: 13.19 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.4427, allocations: 0 / 1.427 GB, free: 13.19 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.0006576/0.4434, allocations: 307 kB / 1.427 GB, free: 12.88 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4434, allocations: 59.39 kB / 1.427 GB, free: 12.81 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.4441, allocations: 0.4988 MB / 1.428 GB, free: 12.3 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.4441, allocations: 29.7 kB / 1.428 GB, free: 12.27 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.4444, allocations: 359.9 kB / 1.428 GB, free: 11.91 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.4445, allocations: 79.31 kB / 1.428 GB, free: 11.83 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4446, allocations: 77.64 kB / 1.428 GB, free: 11.75 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4448, allocations: 362.7 kB / 1.429 GB, free: 11.39 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.4449, allocations: 87.95 kB / 1.429 GB, free: 11.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.4453, allocations: 340.5 kB / 1.429 GB, free: 10.88 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.4458, allocations: 348 kB / 1.429 GB, free: 10.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4458, allocations: 0 / 1.429 GB, free: 10.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006672/0.4465, allocations: 396.8 kB / 1.43 GB, free: 10.08 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.4465, allocations: 14.44 kB / 1.43 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.4465, allocations: 4 kB / 1.43 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.4465, allocations: 4 kB / 1.43 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.4468, allocations: 80.45 kB / 1.43 GB, free: 9.984 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4468, allocations: 8 kB / 1.43 GB, free: 9.977 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.4471, allocations: 39.73 kB / 1.43 GB, free: 9.938 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.4471, allocations: 19.98 kB / 1.43 GB, free: 9.918 MB / 1.123 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.0002659/0.4474, allocations: 213.6 kB / 1.43 GB, free: 9.699 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4475, allocations: 59.61 kB / 1.43 GB, free: 9.641 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006133/0.4481, allocations: 321 kB / 1.431 GB, free: 9.32 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4481, allocations: 7.984 kB / 1.431 GB, free: 9.312 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4481, allocations: 0 / 1.431 GB, free: 9.312 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005519/0.4487, allocations: 486.6 kB / 1.431 GB, free: 8.77 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.45, allocations: 0.8277 MB / 1.432 GB, free: 7.895 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.45, allocations: 0 / 1.432 GB, free: 7.895 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.4502, allocations: 43.91 kB / 1.432 GB, free: 7.852 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4502, allocations: 7.938 kB / 1.432 GB, free: 7.844 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.4502, allocations: 15.97 kB / 1.432 GB, free: 7.828 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4502, allocations: 0 / 1.432 GB, free: 7.828 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4502, allocations: 3.984 kB / 1.432 GB, free: 7.824 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007786/0.451, allocations: 0.5307 MB / 1.432 GB, free: 7.266 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.4512, allocations: 99.66 kB / 1.433 GB, free: 7.168 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.4513, allocations: 8 kB / 1.433 GB, free: 7.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.4515, allocations: 8 kB / 1.433 GB, free: 7.152 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.4516, allocations: 19.97 kB / 1.433 GB, free: 7.133 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.4516, allocations: 11.98 kB / 1.433 GB, free: 7.121 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004152/0.452, allocations: 342.9 kB / 1.433 GB, free: 6.789 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.452, allocations: 0 / 1.433 GB, free: 6.789 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008447/0.4529, allocations: 227.3 kB / 1.433 GB, free: 6.566 MB / 1.123 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.0006385/0.4535, allocations: 282.7 kB / 1.433 GB, free: 6.281 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006311/0.4541, allocations: 257.6 kB / 1.434 GB, free: 6.031 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4541, allocations: 0 / 1.434 GB, free: 6.031 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.4543, allocations: 115.8 kB / 1.434 GB, free: 5.918 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.4558, allocations: 306.4 kB / 1.434 GB, free: 5.637 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.458, allocations: 1.1 MB / 1.435 GB, free: 4.488 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.4584, allocations: 307.7 kB / 1.435 GB, free: 4.16 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.4585, allocations: 51.42 kB / 1.435 GB, free: 4.109 MB / 1.123 GB Notification: Performance of SimCode: time 8.62e-07/0.4585, allocations: 4 kB / 1.435 GB, free: 4.105 MB / 1.123 GB Notification: Performance of Templates: time 0.01793/0.4764, allocations: 10.36 MB / 1.446 GB, free: 9.805 MB / 1.139 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.028757235966623]