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.001458/0.001458, allocations: 116.6 kB / 17.13 MB, free: 6.027 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.001882/0.001882, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.927/2.927, allocations: 0.49 GB / 0.7923 GB, free: 1.375 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00203/0.00203, allocations: 67.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9497/0.9517, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.03787/0.9896, allocations: 42.19 MB / 1.363 GB, free: 10.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01777/1.007, allocations: 11.2 MB / 1.374 GB, free: 2.789 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/1.01, allocations: 67.41 kB / 1.374 GB, free: 2.754 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/1.011, allocations: 442.9 kB / 1.375 GB, free: 2.484 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003766/1.015, allocations: 1.222 MB / 1.376 GB, free: 1.766 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/1.017, allocations: 0.7368 MB / 1.376 GB, free: 1.359 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003196/1.02, allocations: 2.065 MB / 1.378 GB, free: 384 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/1.021, allocations: 0.5554 MB / 1.379 GB, free: 104 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/1.024, allocations: 0.9939 MB / 1.38 GB, free: 15.63 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/1.025, allocations: 0.5893 MB / 1.381 GB, free: 15.37 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/1.025, allocations: 61.34 kB / 1.381 GB, free: 15.37 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/1.027, allocations: 0.6608 MB / 1.381 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/1.027, allocations: 190.3 kB / 1.381 GB, free: 15 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004718/1.027, allocations: 394.6 kB / 1.382 GB, free: 14.77 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/1.03, allocations: 1.288 MB / 1.383 GB, free: 14.3 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/1.03, allocations: 4 kB / 1.383 GB, free: 14.3 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.553e-06/1.03, allocations: 4 kB / 1.383 GB, free: 14.29 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.454e-05/1.03, allocations: 0 / 1.383 GB, free: 14.29 MB / 1.092 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.001918/1.032, allocations: 1.077 MB / 1.384 GB, free: 13.5 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.032, allocations: 13.89 kB / 1.384 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/1.032, allocations: 88.67 kB / 1.384 GB, free: 13.45 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/1.033, allocations: 0.7054 MB / 1.385 GB, free: 13 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/1.033, allocations: 38.47 kB / 1.385 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/1.033, allocations: 60.95 kB / 1.385 GB, free: 12.95 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/1.034, allocations: 0.5606 MB / 1.386 GB, free: 12.67 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/1.034, allocations: 4.688 kB / 1.386 GB, free: 12.66 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/1.034, allocations: 17.38 kB / 1.386 GB, free: 12.65 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/1.034, allocations: 21.59 kB / 1.386 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/1.035, allocations: 381.6 kB / 1.386 GB, free: 12.5 MB / 1.092 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.003313/1.038, allocations: 2.664 MB / 1.389 GB, free: 10.46 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/1.039, allocations: 226.6 kB / 1.389 GB, free: 10.37 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/1.039, allocations: 116.3 kB / 1.389 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002298/1.041, allocations: 1.813 MB / 1.391 GB, free: 8.605 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.041, allocations: 37.19 kB / 1.391 GB, free: 8.562 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 1.853e-06/1.041, allocations: 0 / 1.391 GB, free: 8.562 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0006939/1.042, allocations: 323.7 kB / 1.391 GB, free: 8.422 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/1.042, allocations: 61.66 kB / 1.391 GB, free: 8.352 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/1.043, allocations: 0.6379 MB / 1.392 GB, free: 8.066 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/1.043, allocations: 31.45 kB / 1.392 GB, free: 8.031 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/1.043, allocations: 359.4 kB / 1.392 GB, free: 7.742 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/1.043, allocations: 72.19 kB / 1.392 GB, free: 7.688 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/1.043, allocations: 84.77 kB / 1.392 GB, free: 7.637 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.044, allocations: 369.2 kB / 1.393 GB, free: 7.301 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/1.044, allocations: 98.55 kB / 1.393 GB, free: 7.262 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/1.044, allocations: 235.2 kB / 1.393 GB, free: 7.051 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/1.045, allocations: 335.2 kB / 1.393 GB, free: 6.785 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.045, allocations: 2.188 kB / 1.393 GB, free: 6.785 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007019/1.045, allocations: 415.2 kB / 1.394 GB, free: 6.598 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.045, allocations: 6.531 kB / 1.394 GB, free: 6.598 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.045, allocations: 5 kB / 1.394 GB, free: 6.598 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.045, allocations: 11.8 kB / 1.394 GB, free: 6.594 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/1.046, allocations: 78.02 kB / 1.394 GB, free: 6.582 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/1.046, allocations: 8.266 kB / 1.394 GB, free: 6.582 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/1.046, allocations: 56.2 kB / 1.394 GB, free: 6.543 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/1.046, allocations: 22.36 kB / 1.394 GB, free: 6.539 MB / 1.092 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.0002629/1.046, allocations: 205.2 kB / 1.394 GB, free: 6.375 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.046, allocations: 76.09 kB / 1.394 GB, free: 6.332 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/1.047, allocations: 335.5 kB / 1.394 GB, free: 6.18 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.047, allocations: 6.328 kB / 1.394 GB, free: 6.176 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.047, allocations: 1.594 kB / 1.394 GB, free: 6.176 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005231/1.048, allocations: 495.1 kB / 1.395 GB, free: 5.758 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/1.049, allocations: 0.951 MB / 1.396 GB, free: 5.18 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.049, allocations: 5.406 kB / 1.396 GB, free: 5.176 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/1.049, allocations: 46.55 kB / 1.396 GB, free: 5.168 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.049, allocations: 6.406 kB / 1.396 GB, free: 5.164 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/1.049, allocations: 5.484 kB / 1.396 GB, free: 5.164 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.049, allocations: 2.578 kB / 1.396 GB, free: 5.164 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.049, allocations: 1.828 kB / 1.396 GB, free: 5.164 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/1.05, allocations: 0.5455 MB / 1.396 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/1.05, allocations: 179.1 kB / 1.397 GB, free: 4.68 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/1.051, allocations: 3.344 kB / 1.397 GB, free: 4.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/1.051, allocations: 12 kB / 1.397 GB, free: 4.672 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/1.051, allocations: 19.55 kB / 1.397 GB, free: 4.668 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/1.051, allocations: 11.72 kB / 1.397 GB, free: 4.668 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005923/1.051, allocations: 464 kB / 1.397 GB, free: 4.465 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.051, allocations: 5.594 kB / 1.397 GB, free: 4.461 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007957/1.052, allocations: 220.4 kB / 1.397 GB, free: 4.41 MB / 1.092 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.0005394/1.053, allocations: 293.1 kB / 1.398 GB, free: 4.242 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005075/1.053, allocations: 247.4 kB / 1.398 GB, free: 4.164 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.053, allocations: 1.125 kB / 1.398 GB, free: 4.164 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/1.054, allocations: 110.7 kB / 1.398 GB, free: 4.129 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/1.055, allocations: 430.7 kB / 1.398 GB, free: 4.008 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/1.057, allocations: 1.122 MB / 1.399 GB, free: 3.316 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/1.058, allocations: 0.903 MB / 1.4 GB, free: 2.598 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/1.058, allocations: 56.8 kB / 1.4 GB, free: 2.59 MB / 1.092 GB Notification: Performance of SimCode: time 6.31e-07/1.058, allocations: 1.094 kB / 1.4 GB, free: 2.59 MB / 1.092 GB Notification: Performance of Templates: time 0.02158/1.08, allocations: 11.85 MB / 1.412 GB, free: 15.95 MB / 1.107 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.567443549007294]