Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.001748/0.001748, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.002145/0.002145, allocations: 210.4 kB / 19.43 MB, free: 3.625 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.62/1.62, allocations: 230.6 MB / 252.8 MB, free: 8.938 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 3.289/3.289, allocations: 0.4899 GB / 0.7915 GB, free: 33.33 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.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [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.002081/0.002081, allocations: 65.66 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3663, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2157/0.582, allocations: 166.7 MB / 1.484 GB, free: 11.53 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.5948, allocations: 8.164 MB / 1.492 GB, free: 3.336 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008821/0.5957, allocations: 27.81 kB / 1.492 GB, free: 3.309 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.5973, allocations: 361.7 kB / 1.492 GB, free: 2.953 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.5997, allocations: 0.7463 MB / 1.493 GB, free: 2.203 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006037/0.6058, allocations: 2.147 MB / 1.495 GB, free: 64 kB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.6082, allocations: 1.372 MB / 1.497 GB, free: 14.69 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.6089, allocations: 381.2 kB / 1.497 GB, free: 14.31 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.6128, allocations: 1.467 MB / 1.498 GB, free: 12.84 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.6136, allocations: 462.1 kB / 1.499 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.402e-05/0.6137, allocations: 52 kB / 1.499 GB, free: 12.33 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007906/0.6216, allocations: 3.64 MB / 1.502 GB, free: 8.688 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.6219, allocations: 155.4 kB / 1.502 GB, free: 8.535 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005815/0.6224, allocations: 342.5 kB / 1.503 GB, free: 8.199 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00498/0.6274, allocations: 2.571 MB / 1.505 GB, free: 5.621 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6274, allocations: 4 kB / 1.505 GB, free: 5.617 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6274, allocations: 0 / 1.505 GB, free: 5.617 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.6274, allocations: 3.938 kB / 1.505 GB, free: 5.613 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002344/0.6298, allocations: 1.043 MB / 1.506 GB, free: 4.52 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.6298, allocations: 8.031 kB / 1.506 GB, free: 4.512 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.631, allocations: 139.5 kB / 1.506 GB, free: 4.375 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.6318, allocations: 437.8 kB / 1.507 GB, free: 3.91 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.6318, allocations: 41.25 kB / 1.507 GB, free: 3.867 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.6319, allocations: 55.94 kB / 1.507 GB, free: 3.812 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.6331, allocations: 0.6526 MB / 1.508 GB, free: 3.113 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.6332, allocations: 3.938 kB / 1.508 GB, free: 3.109 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.6332, allocations: 32 kB / 1.508 GB, free: 3.078 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.6333, allocations: 19.94 kB / 1.508 GB, free: 3.059 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.6343, allocations: 459.6 kB / 1.508 GB, free: 2.609 MB / 1.201 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.01777/0.6521, allocations: 6.499 MB / 1.514 GB, free: 11.83 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.6526, allocations: 155.2 kB / 1.515 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.6529, allocations: 117.2 kB / 1.515 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/0.6658, allocations: 3.853 MB / 1.519 GB, free: 7.551 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.023e-05/0.6659, allocations: 42.8 kB / 1.519 GB, free: 7.5 MB / 1.217 GB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.6659, allocations: 0 / 1.519 GB, free: 7.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.0927/0.7586, allocations: 30.61 MB / 1.548 GB, free: 8.855 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.7587, allocations: 136.5 kB / 1.549 GB, free: 8.691 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/0.7594, allocations: 469.8 kB / 1.549 GB, free: 8.23 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.7594, allocations: 33.69 kB / 1.549 GB, free: 8.191 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.7597, allocations: 312.1 kB / 1.549 GB, free: 7.879 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.7598, allocations: 150.7 kB / 1.549 GB, free: 7.73 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.76, allocations: 106.1 kB / 1.55 GB, free: 7.621 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.7602, allocations: 358.8 kB / 1.55 GB, free: 7.262 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.7606, allocations: 181 kB / 1.55 GB, free: 7.082 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/0.7613, allocations: 353.2 kB / 1.55 GB, free: 6.668 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.7623, allocations: 0.521 MB / 1.551 GB, free: 6.09 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7623, allocations: 0 / 1.551 GB, free: 6.09 MB / 1.248 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001969/0.7643, allocations: 0.6937 MB / 1.552 GB, free: 5.383 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.7643, allocations: 11.94 kB / 1.552 GB, free: 5.371 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7643, allocations: 4 kB / 1.552 GB, free: 5.367 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005366/0.7649, allocations: 122 kB / 1.552 GB, free: 5.242 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.7654, allocations: 111.8 kB / 1.552 GB, free: 5.133 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/0.7692, allocations: 3.417 MB / 1.555 GB, free: 1.434 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.7698, allocations: 32.14 kB / 1.555 GB, free: 1.402 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.7698, allocations: 24 kB / 1.555 GB, free: 1.379 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003249/0.7702, allocations: 189.6 kB / 1.555 GB, free: 1.184 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.7704, allocations: 59.61 kB / 1.555 GB, free: 1.125 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.772, allocations: 0.6476 MB / 1.556 GB, free: 456 kB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.772, allocations: 4 kB / 1.556 GB, free: 452 kB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.772, allocations: 4 kB / 1.556 GB, free: 448 kB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.772, allocations: 0 / 1.556 GB, free: 448 kB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.7744, allocations: 1.191 MB / 1.557 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.7744, allocations: 4 kB / 1.557 GB, free: 15.13 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.7748, allocations: 67.89 kB / 1.557 GB, free: 15.07 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000284/0.7751, allocations: 73.25 kB / 1.557 GB, free: 14.99 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.7751, allocations: 15.98 kB / 1.557 GB, free: 14.98 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.7773, allocations: 1.744 MB / 1.559 GB, free: 13.1 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7773, allocations: 4 kB / 1.559 GB, free: 13.09 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.779, allocations: 0.7332 MB / 1.56 GB, free: 12.29 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.7791, allocations: 128.8 kB / 1.56 GB, free: 12.15 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.04e-05/0.7792, allocations: 12 kB / 1.56 GB, free: 12.14 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.7797, allocations: 19.98 kB / 1.56 GB, free: 12.12 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.7798, allocations: 31.84 kB / 1.56 GB, free: 12.09 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.7798, allocations: 24.05 kB / 1.56 GB, free: 12.06 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005805/0.7804, allocations: 354.9 kB / 1.56 GB, free: 11.71 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7804, allocations: 0 / 1.56 GB, free: 11.71 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001917/0.7823, allocations: 0.5656 MB / 1.561 GB, free: 11.15 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002148/0.7844, allocations: 0.5524 MB / 1.562 GB, free: 10.59 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.7861, allocations: 0.6411 MB / 1.562 GB, free: 9.922 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.7861, allocations: 4 kB / 1.562 GB, free: 9.918 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006194/0.7868, allocations: 287.3 kB / 1.562 GB, free: 9.625 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.7884, allocations: 303.2 kB / 1.563 GB, free: 9.336 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.7906, allocations: 1.132 MB / 1.564 GB, free: 8.125 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.7912, allocations: 0.8629 MB / 1.565 GB, free: 7.234 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004453/0.7916, allocations: 116.1 kB / 1.565 GB, free: 7.129 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.7918, allocations: 51.42 kB / 1.565 GB, free: 7.078 MB / 1.264 GB Notification: Performance of SimCode: time 9.82e-07/0.7918, allocations: 0 / 1.565 GB, free: 7.078 MB / 1.264 GB Notification: Performance of Templates: time 0.04036/0.8321, allocations: 23.27 MB / 1.588 GB, free: 20 kB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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: 10.411403126083314]