Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001324/0.001324, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001432/0.001432, allocations: 177 kB / 23.49 MB, free: 1.055 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.9567/0.9567, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.099/2.099, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.895e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1501/0.1501, allocations: 159.8 MB / 1.034 GB, free: 6.328 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008987/0.1591, allocations: 8.214 MB / 1.042 GB, free: 14.08 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006992/0.1598, allocations: 23.81 kB / 1.042 GB, free: 14.06 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.1611, allocations: 329.7 kB / 1.043 GB, free: 13.73 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.163, allocations: 0.7808 MB / 1.043 GB, free: 12.95 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.1673, allocations: 2.176 MB / 1.045 GB, free: 10.77 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00165/0.169, allocations: 1.387 MB / 1.047 GB, free: 9.375 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006578/0.1697, allocations: 370.3 kB / 1.047 GB, free: 9.012 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.1735, allocations: 1.7 MB / 1.049 GB, free: 7.305 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009588/0.1745, allocations: 390.8 kB / 1.049 GB, free: 6.922 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1746, allocations: 55.94 kB / 1.049 GB, free: 6.867 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006424/0.181, allocations: 3.511 MB / 1.053 GB, free: 3.352 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.1812, allocations: 167.4 kB / 1.053 GB, free: 3.188 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.1816, allocations: 259.4 kB / 1.053 GB, free: 2.934 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005125/0.1868, allocations: 2.876 MB / 1.056 GB, free: 52 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1868, allocations: 3.938 kB / 1.056 GB, free: 48 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1868, allocations: 0 / 1.056 GB, free: 48 kB / 1.01 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.1868, allocations: 0 / 1.056 GB, free: 48 kB / 1.01 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.4153/0.6021, allocations: 1.053 MB / 1.057 GB, free: 222.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.6022, allocations: 11.66 kB / 1.057 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.6034, allocations: 238.4 kB / 1.057 GB, free: 222.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009944/0.6044, allocations: 383.6 kB / 1.058 GB, free: 222.6 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.6045, allocations: 43.69 kB / 1.058 GB, free: 222.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.893e-05/0.6046, allocations: 58.16 kB / 1.058 GB, free: 222.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.6056, allocations: 0.9428 MB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.6056, allocations: 2.781 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.6057, allocations: 24.05 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.6057, allocations: 22.7 kB / 1.059 GB, free: 221.7 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.6061, allocations: 261.6 kB / 1.059 GB, free: 221.7 MB / 1.01 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.007761/0.6138, allocations: 6.093 MB / 1.065 GB, free: 219.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.614, allocations: 103.7 kB / 1.065 GB, free: 219.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.6141, allocations: 58.11 kB / 1.065 GB, free: 219.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005455/0.6196, allocations: 3.295 MB / 1.068 GB, free: 218.8 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.6196, allocations: 48.31 kB / 1.068 GB, free: 218.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=27): time 1.422e-06/0.6196, allocations: 3.938 kB / 1.068 GB, free: 218.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=40): time 0.0361/0.6557, allocations: 16.61 MB / 1.084 GB, free: 215.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.6558, allocations: 136.6 kB / 1.085 GB, free: 215.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.656, allocations: 390.4 kB / 1.085 GB, free: 214.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.6561, allocations: 32.77 kB / 1.085 GB, free: 214.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.6562, allocations: 373.4 kB / 1.085 GB, free: 214.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.6563, allocations: 145.2 kB / 1.085 GB, free: 214.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.6564, allocations: 112.9 kB / 1.086 GB, free: 214.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.6565, allocations: 0.5224 MB / 1.086 GB, free: 213.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.6566, allocations: 96.31 kB / 1.086 GB, free: 213.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.6569, allocations: 407.8 kB / 1.087 GB, free: 213.4 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.6572, allocations: 430.6 kB / 1.087 GB, free: 213.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6572, allocations: 1.094 kB / 1.087 GB, free: 213.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008662/0.6581, allocations: 0.5382 MB / 1.088 GB, free: 212.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.6581, allocations: 6.844 kB / 1.088 GB, free: 212.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.6581, allocations: 5.625 kB / 1.088 GB, free: 212.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.6585, allocations: 118.9 kB / 1.088 GB, free: 212.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.6588, allocations: 107.2 kB / 1.088 GB, free: 212.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.6604, allocations: 4.081 MB / 1.092 GB, free: 208.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.6606, allocations: 30.08 kB / 1.092 GB, free: 208.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.6607, allocations: 26.05 kB / 1.092 GB, free: 208.8 MB / 1.01 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.0001389/0.6608, allocations: 186.5 kB / 1.092 GB, free: 208.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.661, allocations: 67.25 kB / 1.092 GB, free: 208.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006721/0.6616, allocations: 0.4976 MB / 1.092 GB, free: 208.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6616, allocations: 3.312 kB / 1.092 GB, free: 208.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6616, allocations: 2.938 kB / 1.093 GB, free: 208.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6616, allocations: 1.594 kB / 1.093 GB, free: 208.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.6628, allocations: 1.08 MB / 1.094 GB, free: 207.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.6628, allocations: 5.531 kB / 1.094 GB, free: 207.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.663, allocations: 61.48 kB / 1.094 GB, free: 207.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.6632, allocations: 71.27 kB / 1.094 GB, free: 207.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.6632, allocations: 21.14 kB / 1.094 GB, free: 207.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007816/0.664, allocations: 2.075 MB / 1.096 GB, free: 205.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.664, allocations: 8.688 kB / 1.096 GB, free: 205.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.6645, allocations: 0.6345 MB / 1.096 GB, free: 204.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.6646, allocations: 40.92 kB / 1.096 GB, free: 204.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.6646, allocations: 13.38 kB / 1.096 GB, free: 204.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.6648, allocations: 20.5 kB / 1.096 GB, free: 204.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.6649, allocations: 39.81 kB / 1.096 GB, free: 204.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.6649, allocations: 28.48 kB / 1.096 GB, free: 204.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000174/0.6651, allocations: 267.1 kB / 1.097 GB, free: 204.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6651, allocations: 0 / 1.097 GB, free: 204.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001487/0.6666, allocations: 0.521 MB / 1.097 GB, free: 204.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (31): * Single equations (assignments): 30 * 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.001277/0.6678, allocations: 0.54 MB / 1.098 GB, free: 204.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007387/0.6686, allocations: 0.6463 MB / 1.098 GB, free: 204 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6686, allocations: 1.312 kB / 1.098 GB, free: 204 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003494/0.6721, allocations: 293.6 kB / 1.099 GB, free: 203.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.673, allocations: 215.5 kB / 1.099 GB, free: 203.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.6751, allocations: 1.08 MB / 1.1 GB, free: 203 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.6753, allocations: 133.9 kB / 1.1 GB, free: 202.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005034/0.6758, allocations: 90.52 kB / 1.1 GB, free: 202.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.6759, allocations: 39.83 kB / 1.1 GB, free: 202.9 MB / 1.01 GB Notification: Performance of SimCode: time 2.024e-06/0.6759, allocations: 4 kB / 1.1 GB, free: 202.9 MB / 1.01 GB Notification: Performance of Templates: time 0.03519/0.7111, allocations: 20.69 MB / 1.12 GB, free: 197.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.516307013109326]