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.0007832/0.0007832, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007799/0.0007799, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8983/0.8983, allocations: 177.1 MB / 203.5 MB, free: 5.402 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.828/1.828, allocations: 377.9 MB / 0.6229 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.463e-06/1.463e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9324 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.107e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.094 MB / 0.9324 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.0248/0.02482, allocations: 38.26 MB / 1.02 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.009763/0.03458, allocations: 10.39 MB / 1.03 GB, free: 1.27 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008642/0.03545, allocations: 67.44 kB / 1.03 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.03629, allocations: 433 kB / 1.03 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.03824, allocations: 1.251 MB / 1.031 GB, free: 15.52 MB / 0.9949 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.03963, allocations: 0.7892 MB / 1.032 GB, free: 14.73 MB / 0.9949 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.04132, allocations: 2.112 MB / 1.034 GB, free: 12.62 MB / 0.9949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006441/0.04197, allocations: 0.5247 MB / 1.035 GB, free: 12.07 MB / 0.9949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.04362, allocations: 1.272 MB / 1.036 GB, free: 10.8 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.04414, allocations: 0.4906 MB / 1.036 GB, free: 10.31 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.04421, allocations: 64 kB / 1.037 GB, free: 10.25 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/0.04499, allocations: 0.522 MB / 1.037 GB, free: 9.723 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.04512, allocations: 195.2 kB / 1.037 GB, free: 9.531 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.04532, allocations: 275.4 kB / 1.037 GB, free: 9.262 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.04648, allocations: 1.274 MB / 1.039 GB, free: 7.984 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.04648, allocations: 0 / 1.039 GB, free: 7.984 MB / 0.9949 GB Notification: Performance of FrontEnd: time 1.442e-06/0.04648, allocations: 0 / 1.039 GB, free: 7.984 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.04649, allocations: 3.938 kB / 1.039 GB, free: 7.98 MB / 0.9949 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.001254/0.04775, allocations: 0.9945 MB / 1.04 GB, free: 6.953 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.04778, allocations: 8.031 kB / 1.04 GB, free: 6.945 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.04795, allocations: 96.41 kB / 1.04 GB, free: 6.852 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/0.04878, allocations: 0.6278 MB / 1.04 GB, free: 6.203 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.04881, allocations: 41.38 kB / 1.04 GB, free: 6.164 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.04887, allocations: 56.38 kB / 1.041 GB, free: 6.109 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.04949, allocations: 0.6381 MB / 1.041 GB, free: 5.418 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.04951, allocations: 0 / 1.041 GB, free: 5.418 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.04954, allocations: 16 kB / 1.041 GB, free: 5.402 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.04956, allocations: 16 kB / 1.041 GB, free: 5.387 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.04999, allocations: 379.7 kB / 1.042 GB, free: 5.016 MB / 0.9949 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.0018/0.05179, allocations: 1.97 MB / 1.043 GB, free: 2.98 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.05217, allocations: 222.6 kB / 1.044 GB, free: 2.754 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.05229, allocations: 116.8 kB / 1.044 GB, free: 2.637 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008966/0.05319, allocations: 0.7418 MB / 1.044 GB, free: 1.875 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.05321, allocations: 38.5 kB / 1.045 GB, free: 1.828 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.05321, allocations: 0 / 1.045 GB, free: 1.828 MB / 0.9949 GB Notification: Performance of matching and sorting (n=20): time 0.0004163/0.05363, allocations: 312.1 kB / 1.045 GB, free: 1.52 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.05366, allocations: 59.34 kB / 1.045 GB, free: 1.449 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.05403, allocations: 0.4988 MB / 1.045 GB, free: 0.9375 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.05405, allocations: 29.7 kB / 1.045 GB, free: 0.9023 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.05447, allocations: 359.8 kB / 1.046 GB, free: 0.5469 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.05451, allocations: 79.38 kB / 1.046 GB, free: 480 kB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.05459, allocations: 73.64 kB / 1.046 GB, free: 400 kB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.05468, allocations: 362.7 kB / 1.046 GB, free: 28 kB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4292/0.4839, allocations: 92.53 kB / 1.046 GB, free: 105.5 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.4841, allocations: 334.9 kB / 1.047 GB, free: 105.2 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.4843, allocations: 345.3 kB / 1.047 GB, free: 105 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.4843, allocations: 2.875 kB / 1.047 GB, free: 105 MB / 0.9949 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004423/0.4848, allocations: 393.2 kB / 1.047 GB, free: 105 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4848, allocations: 5.75 kB / 1.047 GB, free: 105 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4848, allocations: 5.75 kB / 1.047 GB, free: 105 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.4848, allocations: 9.5 kB / 1.047 GB, free: 105 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.485, allocations: 76.33 kB / 1.047 GB, free: 105 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.485, allocations: 10.62 kB / 1.047 GB, free: 105 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.4852, allocations: 42.92 kB / 1.047 GB, free: 105 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.4852, allocations: 19.81 kB / 1.048 GB, free: 105 MB / 0.9949 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.0001986/0.4854, allocations: 206.1 kB / 1.048 GB, free: 104.8 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.4855, allocations: 60.69 kB / 1.048 GB, free: 104.8 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.4858, allocations: 317.2 kB / 1.048 GB, free: 104.8 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.4858, allocations: 9.906 kB / 1.048 GB, free: 104.8 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4858, allocations: 2.875 kB / 1.048 GB, free: 104.8 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002262/0.4861, allocations: 493.8 kB / 1.049 GB, free: 104.4 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.4868, allocations: 0.8248 MB / 1.049 GB, free: 103.9 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4868, allocations: 2.844 kB / 1.049 GB, free: 103.9 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4869, allocations: 45.34 kB / 1.049 GB, free: 103.9 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4869, allocations: 2.5 kB / 1.049 GB, free: 103.9 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4869, allocations: 12.33 kB / 1.049 GB, free: 103.9 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4869, allocations: 3.938 kB / 1.049 GB, free: 103.9 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4869, allocations: 2.844 kB / 1.049 GB, free: 103.9 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.4873, allocations: 0.5292 MB / 1.05 GB, free: 103.6 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.4874, allocations: 84.47 kB / 1.05 GB, free: 103.6 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.4875, allocations: 14.08 kB / 1.05 GB, free: 103.6 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4876, allocations: 10.77 kB / 1.05 GB, free: 103.6 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.4876, allocations: 23.47 kB / 1.05 GB, free: 103.6 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.4876, allocations: 14.53 kB / 1.05 GB, free: 103.6 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.0002002/0.4878, allocations: 346 kB / 1.05 GB, free: 103.4 MB / 0.9949 GB Notification: Performance of sort global known variables: time 9e-08/0.4878, allocations: 0 / 1.05 GB, free: 103.4 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.0004756/0.4883, allocations: 231.8 kB / 1.051 GB, free: 103.4 MB / 0.9949 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.0003292/0.4886, allocations: 283.8 kB / 1.051 GB, free: 103.3 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.4889, allocations: 259.4 kB / 1.051 GB, free: 103.2 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4889, allocations: 3.969 kB / 1.051 GB, free: 103.2 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.489, allocations: 113.8 kB / 1.051 GB, free: 103.2 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.4897, allocations: 286.9 kB / 1.052 GB, free: 103.1 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.4907, allocations: 1.05 MB / 1.053 GB, free: 102.5 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.4909, allocations: 302.9 kB / 1.053 GB, free: 102.4 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.491, allocations: 47.95 kB / 1.053 GB, free: 102.4 MB / 0.9949 GB Notification: Performance of SimCode: time 6.61e-07/0.491, allocations: 3.062 kB / 1.053 GB, free: 102.4 MB / 0.9949 GB Notification: Performance of Templates: time 0.007597/0.4986, allocations: 10.44 MB / 1.063 GB, free: 101.2 MB / 0.9949 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/jenkins/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: 8.715791991911829]