Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00144/0.00144, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001703/0.001703, allocations: 165.8 kB / 24.86 MB, free: 8.902 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.9489/0.9489, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.24 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.289e-05, allocations: 6.047 kB / 0.7883 GB, free: 12.24 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1131/0.1132, allocations: 134.2 MB / 0.9194 GB, free: 5.582 MB / 0.8699 GB Notification: Performance of NFInst.instExpressions: time 0.005367/0.1185, allocations: 5.717 MB / 0.9249 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.1189, allocations: 23.81 kB / 0.925 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.1193, allocations: 198.4 kB / 0.9252 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.1208, allocations: 0.7457 MB / 0.9259 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.1226, allocations: 0.9813 MB / 0.9268 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.124, allocations: 1.368 MB / 0.9282 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000542/0.1245, allocations: 374.3 kB / 0.9285 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.126, allocations: 0.9423 MB / 0.9295 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.1266, allocations: 390.8 kB / 0.9298 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.823e-05/0.1267, allocations: 52 kB / 0.9299 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.1285, allocations: 1.233 MB / 0.9311 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.1287, allocations: 163.4 kB / 0.9312 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.1289, allocations: 247.4 kB / 0.9315 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.1307, allocations: 1.328 MB / 0.9328 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.1307, allocations: 0 / 0.9328 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1307, allocations: 4 kB / 0.9328 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.1307, allocations: 0 / 0.9328 GB, free: 7.801 MB / 0.8855 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.001276/0.132, allocations: 0.9786 MB / 0.9337 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1321, allocations: 8.031 kB / 0.9337 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009003/0.133, allocations: 239.8 kB / 0.934 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.1334, allocations: 374.7 kB / 0.9343 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.1335, allocations: 41.62 kB / 0.9344 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.1336, allocations: 64.36 kB / 0.9344 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.1343, allocations: 0.8537 MB / 0.9353 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1343, allocations: 3.938 kB / 0.9353 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.1344, allocations: 24 kB / 0.9353 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1344, allocations: 12 kB / 0.9353 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.1347, allocations: 222.6 kB / 0.9355 GB, free: 4.797 MB / 0.8855 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.009258/0.144, allocations: 5.343 MB / 0.9407 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.1442, allocations: 103.7 kB / 0.9408 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.1443, allocations: 48.83 kB / 0.9409 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003198/0.1475, allocations: 1.309 MB / 0.9421 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1475, allocations: 45.38 kB / 0.9422 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.1475, allocations: 3.938 kB / 0.9422 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40): time 0.04354/0.191, allocations: 7.03 MB / 0.9491 GB, free: 6.758 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.1911, allocations: 140.5 kB / 0.9492 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.1914, allocations: 386.3 kB / 0.9496 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.1914, allocations: 37.7 kB / 0.9496 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.1916, allocations: 371.1 kB / 0.95 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.1917, allocations: 146.8 kB / 0.9501 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.1918, allocations: 107.9 kB / 0.9502 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.192, allocations: 0.5311 MB / 0.9507 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1921, allocations: 73.25 kB / 0.9508 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.1924, allocations: 395.1 kB / 0.9512 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.1928, allocations: 391.5 kB / 0.9515 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1928, allocations: 0 / 0.9515 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003955/0.1968, allocations: 0.5056 MB / 0.952 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1968, allocations: 4 kB / 0.952 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1968, allocations: 8 kB / 0.952 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/0.1972, allocations: 115.8 kB / 0.9522 GB, free: 3.301 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.1975, allocations: 111.8 kB / 0.9523 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.2031, allocations: 4.033 MB / 0.9562 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.2034, allocations: 23.98 kB / 0.9562 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.2035, allocations: 27.92 kB / 0.9562 GB, free: 14.88 MB / 0.9167 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.0001724/0.2036, allocations: 188.4 kB / 0.9564 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.2038, allocations: 71.59 kB / 0.9565 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.2046, allocations: 0.5118 MB / 0.957 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2046, allocations: 4 kB / 0.957 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.2046, allocations: 0 / 0.957 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2046, allocations: 128 / 0.957 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/0.209, allocations: 1.074 MB / 0.958 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.209, allocations: 4 kB / 0.958 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.2092, allocations: 51.91 kB / 0.9581 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/0.2094, allocations: 84.05 kB / 0.9582 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2094, allocations: 12 kB / 0.9582 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.2107, allocations: 2.052 MB / 0.9602 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2107, allocations: 4 kB / 0.9602 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.2147, allocations: 0.5886 MB / 0.9608 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.2147, allocations: 43.73 kB / 0.9608 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.2148, allocations: 12 kB / 0.9608 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.215, allocations: 23.92 kB / 0.9608 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.2151, allocations: 39.97 kB / 0.9609 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.2151, allocations: 23.95 kB / 0.9609 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001738/0.2153, allocations: 259 kB / 0.9612 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2153, allocations: 0 / 0.9612 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005134/0.2204, allocations: 0.7066 MB / 0.9618 GB, free: 8.75 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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.002617/0.223, allocations: 430.6 kB / 0.9623 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007523/0.2238, allocations: 0.6123 MB / 0.9629 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.2238, allocations: 3.953 kB / 0.9629 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.224, allocations: 283.6 kB / 0.9631 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.2249, allocations: 232.6 kB / 0.9634 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.2262, allocations: 1.033 MB / 0.9644 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.252e-05/0.2263, allocations: 137.6 kB / 0.9645 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.2265, allocations: 80.97 kB / 0.9646 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.2268, allocations: 274 kB / 0.9648 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/0.2268, allocations: 0 / 0.9648 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of Templates: time 0.03812/0.2649, allocations: 35.53 MB / 0.9995 GB, free: 2.375 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.40142650809139]