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.001524/0.001524, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001577/0.001577, allocations: 210 kB / 22.99 MB, free: 4.957 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.463/3.463, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.003362/0.003362, allocations: 70.31 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3473, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1879/0.5352, allocations: 144.3 MB / 1.468 GB, free: 180 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.5467, allocations: 7.483 MB / 1.475 GB, free: 8.664 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006468/0.5473, allocations: 23.81 kB / 1.475 GB, free: 8.641 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.5484, allocations: 333.8 kB / 1.476 GB, free: 8.312 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.5505, allocations: 0.7619 MB / 1.476 GB, free: 7.547 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00523/0.5557, allocations: 2.151 MB / 1.479 GB, free: 5.402 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.5576, allocations: 1.388 MB / 1.48 GB, free: 4.012 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006094/0.5582, allocations: 369.9 kB / 1.48 GB, free: 3.645 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.5616, allocations: 1.494 MB / 1.482 GB, free: 2.145 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007169/0.5624, allocations: 462.2 kB / 1.482 GB, free: 1.691 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.5624, allocations: 52 kB / 1.482 GB, free: 1.641 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006746/0.5692, allocations: 3.593 MB / 1.486 GB, free: 14.04 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.5694, allocations: 167.4 kB / 1.486 GB, free: 13.88 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.5699, allocations: 282.9 kB / 1.486 GB, free: 13.6 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.5741, allocations: 2.575 MB / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5741, allocations: 0 / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5741, allocations: 3.938 kB / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.5741, allocations: 4 kB / 1.489 GB, free: 11.01 MB / 1.186 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.002183/0.5763, allocations: 0.964 MB / 1.49 GB, free: 10.02 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5763, allocations: 8.031 kB / 1.49 GB, free: 10.01 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.5775, allocations: 139.5 kB / 1.49 GB, free: 9.871 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.5783, allocations: 371.3 kB / 1.49 GB, free: 9.477 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.5783, allocations: 41.31 kB / 1.49 GB, free: 9.434 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5784, allocations: 55.89 kB / 1.49 GB, free: 9.379 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.58, allocations: 0.9828 MB / 1.491 GB, free: 8.266 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.58, allocations: 3.938 kB / 1.491 GB, free: 8.262 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.58, allocations: 24 kB / 1.491 GB, free: 8.238 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.5801, allocations: 12 kB / 1.491 GB, free: 8.227 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5811, allocations: 475.5 kB / 1.492 GB, free: 7.762 MB / 1.186 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.01636/0.5975, allocations: 5.506 MB / 1.497 GB, free: 2.176 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.5979, allocations: 151.1 kB / 1.497 GB, free: 2.02 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.5982, allocations: 113.3 kB / 1.497 GB, free: 1.906 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.6103, allocations: 3.27 MB / 1.5 GB, free: 14.63 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.6104, allocations: 42.78 kB / 1.5 GB, free: 14.58 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/0.6104, allocations: 0 / 1.5 GB, free: 14.58 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.0874/0.6978, allocations: 30.53 MB / 1.53 GB, free: 44 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.6979, allocations: 140.4 kB / 1.53 GB, free: 15.88 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.6984, allocations: 353.5 kB / 1.531 GB, free: 15.52 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.6985, allocations: 41.7 kB / 1.531 GB, free: 15.48 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.6987, allocations: 328.4 kB / 1.531 GB, free: 15.15 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.6988, allocations: 154.7 kB / 1.531 GB, free: 15 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.699, allocations: 102.3 kB / 1.531 GB, free: 14.89 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6992, allocations: 350.7 kB / 1.532 GB, free: 14.54 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.6997, allocations: 181.2 kB / 1.532 GB, free: 14.36 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/0.7003, allocations: 431.2 kB / 1.532 GB, free: 13.85 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.7013, allocations: 0.5225 MB / 1.533 GB, free: 13.27 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7013, allocations: 4 kB / 1.533 GB, free: 13.27 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001842/0.7031, allocations: 0.6804 MB / 1.533 GB, free: 12.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.7032, allocations: 16.02 kB / 1.533 GB, free: 12.56 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7032, allocations: 4 kB / 1.533 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/0.7037, allocations: 113.6 kB / 1.534 GB, free: 12.44 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.7042, allocations: 115.8 kB / 1.534 GB, free: 12.32 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.7078, allocations: 3.15 MB / 1.537 GB, free: 8.977 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.7083, allocations: 32.2 kB / 1.537 GB, free: 8.945 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.7084, allocations: 23.98 kB / 1.537 GB, free: 8.922 MB / 1.232 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.0003007/0.7087, allocations: 194.2 kB / 1.537 GB, free: 8.723 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.7089, allocations: 47.72 kB / 1.537 GB, free: 8.676 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.7105, allocations: 0.6379 MB / 1.538 GB, free: 8.004 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.7105, allocations: 4 kB / 1.538 GB, free: 8 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.7105, allocations: 0 / 1.538 GB, free: 8 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7105, allocations: 3.938 kB / 1.538 GB, free: 7.996 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.7127, allocations: 1.043 MB / 1.539 GB, free: 6.863 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.7127, allocations: 4 kB / 1.539 GB, free: 6.859 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.7131, allocations: 63.89 kB / 1.539 GB, free: 6.797 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/0.7134, allocations: 69.22 kB / 1.539 GB, free: 6.727 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.7134, allocations: 19.98 kB / 1.539 GB, free: 6.707 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.7154, allocations: 1.61 MB / 1.54 GB, free: 5 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.7154, allocations: 7.938 kB / 1.54 GB, free: 4.992 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.7169, allocations: 0.7199 MB / 1.541 GB, free: 4.207 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.717, allocations: 35.77 kB / 1.541 GB, free: 4.172 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.7171, allocations: 12 kB / 1.541 GB, free: 4.16 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.7175, allocations: 23.97 kB / 1.541 GB, free: 4.137 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.7176, allocations: 35.83 kB / 1.541 GB, free: 4.102 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.7176, allocations: 20 kB / 1.541 GB, free: 4.082 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003698/0.718, allocations: 267.2 kB / 1.541 GB, free: 3.82 MB / 1.232 GB Notification: Performance of sort global known variables: time 5e-08/0.718, allocations: 0 / 1.541 GB, free: 3.82 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001841/0.7198, allocations: 0.5656 MB / 1.542 GB, free: 3.254 MB / 1.232 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.001971/0.7218, allocations: 0.5412 MB / 1.543 GB, free: 2.699 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.7235, allocations: 0.6388 MB / 1.543 GB, free: 2.035 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.7235, allocations: 7.953 kB / 1.543 GB, free: 2.027 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.7241, allocations: 271.4 kB / 1.543 GB, free: 1.75 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.7253, allocations: 209.7 kB / 1.544 GB, free: 1.555 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.7273, allocations: 1.128 MB / 1.545 GB, free: 356 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.7276, allocations: 266.4 kB / 1.545 GB, free: 60 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000395/0.728, allocations: 95.36 kB / 1.545 GB, free: 15.96 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.7281, allocations: 43.44 kB / 1.545 GB, free: 15.92 MB / 1.248 GB Notification: Performance of SimCode: time 7.71e-07/0.7281, allocations: 0 / 1.545 GB, free: 15.92 MB / 1.248 GB Notification: Performance of Templates: time 0.035/0.7631, allocations: 21.74 MB / 1.566 GB, free: 10.43 MB / 1.264 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 -s gbode -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/jenkins1/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.122342814996955]