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.001988/0.001988, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002804/0.002804, allocations: 216.9 kB / 23 MB, free: 4.969 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.468/3.468, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.00199/0.00199, allocations: 69.39 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3358, allocations: 176.1 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1855/0.5213, allocations: 144.3 MB / 1.468 GB, free: 204 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.5322, allocations: 7.489 MB / 1.475 GB, free: 8.684 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.5327, allocations: 27.81 kB / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009322/0.5336, allocations: 325.9 kB / 1.476 GB, free: 8.336 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.5354, allocations: 0.7636 MB / 1.476 GB, free: 7.57 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.5402, allocations: 2.157 MB / 1.479 GB, free: 5.418 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.5417, allocations: 1.38 MB / 1.48 GB, free: 4.035 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005348/0.5422, allocations: 369.8 kB / 1.48 GB, free: 3.668 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.5453, allocations: 1.49 MB / 1.482 GB, free: 2.172 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.5459, allocations: 462.2 kB / 1.482 GB, free: 1.719 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.144e-05/0.546, allocations: 52 kB / 1.482 GB, free: 1.668 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006364/0.5524, allocations: 3.597 MB / 1.486 GB, free: 14.07 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.5526, allocations: 159.4 kB / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.5529, allocations: 290.8 kB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.5562, allocations: 2.579 MB / 1.489 GB, free: 11.04 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.5562, allocations: 0 / 1.489 GB, free: 11.04 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5562, allocations: 0 / 1.489 GB, free: 11.04 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.5562, allocations: 0 / 1.489 GB, free: 11.04 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.002077/0.5583, allocations: 0.9678 MB / 1.49 GB, free: 10.04 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5583, allocations: 8.031 kB / 1.49 GB, free: 10.03 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.5595, allocations: 135.5 kB / 1.49 GB, free: 9.898 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.5602, allocations: 371.3 kB / 1.49 GB, free: 9.504 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.5603, allocations: 41.31 kB / 1.49 GB, free: 9.461 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.5604, allocations: 51.95 kB / 1.49 GB, free: 9.41 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5618, allocations: 0.9905 MB / 1.491 GB, free: 8.289 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.5618, allocations: 0 / 1.491 GB, free: 8.289 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.5619, allocations: 24 kB / 1.491 GB, free: 8.266 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.5619, allocations: 19.94 kB / 1.491 GB, free: 8.246 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.5629, allocations: 471.5 kB / 1.492 GB, free: 7.785 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.01586/0.5788, allocations: 5.502 MB / 1.497 GB, free: 2.203 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.5792, allocations: 151.8 kB / 1.497 GB, free: 2.047 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.5796, allocations: 117.3 kB / 1.497 GB, free: 1.93 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.5915, allocations: 3.27 MB / 1.5 GB, free: 14.66 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.5915, allocations: 42.72 kB / 1.5 GB, free: 14.61 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.946e-06/0.5915, allocations: 0 / 1.5 GB, free: 14.61 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.0986/0.6901, allocations: 30.54 MB / 1.53 GB, free: 56 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.6903, allocations: 140.4 kB / 1.53 GB, free: 15.89 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.6909, allocations: 349.5 kB / 1.531 GB, free: 15.54 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.691, allocations: 37.7 kB / 1.531 GB, free: 15.5 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.6914, allocations: 328.4 kB / 1.531 GB, free: 15.17 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.6915, allocations: 146.7 kB / 1.531 GB, free: 15.02 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.6918, allocations: 102.3 kB / 1.531 GB, free: 14.92 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.692, allocations: 354.7 kB / 1.532 GB, free: 14.56 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/0.6926, allocations: 181.2 kB / 1.532 GB, free: 14.38 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.6936, allocations: 435.2 kB / 1.532 GB, free: 13.87 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.6952, allocations: 0.5236 MB / 1.533 GB, free: 13.29 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6952, allocations: 0 / 1.533 GB, free: 13.29 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002845/0.698, allocations: 0.6839 MB / 1.533 GB, free: 12.59 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.698, allocations: 7.938 kB / 1.533 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.6981, allocations: 7.984 kB / 1.533 GB, free: 12.58 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/0.6988, allocations: 125.6 kB / 1.534 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/0.6996, allocations: 116.2 kB / 1.534 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/0.7046, allocations: 3.138 MB / 1.537 GB, free: 9 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.7053, allocations: 27.98 kB / 1.537 GB, free: 8.973 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.7054, allocations: 23.98 kB / 1.537 GB, free: 8.949 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.0004075/0.7058, allocations: 194.2 kB / 1.537 GB, free: 8.75 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.7062, allocations: 47.72 kB / 1.537 GB, free: 8.703 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.7084, allocations: 0.6429 MB / 1.538 GB, free: 8.023 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.7084, allocations: 48 / 1.538 GB, free: 8.023 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.7084, allocations: 3.984 kB / 1.538 GB, free: 8.02 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.7086, allocations: 35.75 kB / 1.538 GB, free: 7.984 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.7087, allocations: 11.94 kB / 1.538 GB, free: 7.973 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.7092, allocations: 19.92 kB / 1.538 GB, free: 7.953 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.7093, allocations: 23.95 kB / 1.538 GB, free: 7.93 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002374/0.7117, allocations: 0.5179 MB / 1.538 GB, free: 7.398 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002218/0.7139, allocations: 0.6979 MB / 1.539 GB, free: 6.684 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005258/0.7144, allocations: 127.9 kB / 1.539 GB, free: 6.559 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000486/0.7149, allocations: 275.2 kB / 1.539 GB, free: 6.293 MB / 1.232 GB Notification: Performance of Backend: time 4.61e-07/0.7149, allocations: 0 / 1.539 GB, free: 6.293 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01362/0.7285, allocations: 1.389 MB / 1.541 GB, free: 4.875 MB / 1.232 GB Notification: Performance of SimCode: time 0.00257/0.7311, allocations: 1.605 MB / 1.542 GB, free: 3.23 MB / 1.232 GB Notification: Performance of Templates: time 0.09896/0.83, allocations: 65.18 MB / 1.606 GB, free: 2.641 MB / 1.295 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/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: 12.331783721994725]