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.0009845/0.0009845, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009402/0.0009402, allocations: 169 kB / 23.27 MB, free: 1.223 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.8525/0.8525, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.222/2.222, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.823e-06/1.823e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.813e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1223/0.1223, allocations: 134.2 MB / 1.021 GB, free: 3.043 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005019/0.1274, allocations: 5.717 MB / 1.026 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.1276, allocations: 27.81 kB / 1.026 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.128, allocations: 194.5 kB / 1.027 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000964/0.129, allocations: 0.7496 MB / 1.027 GB, free: 12.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.1301, allocations: 0.9774 MB / 1.028 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008142/0.131, allocations: 1.367 MB / 1.03 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.1313, allocations: 370.4 kB / 1.03 GB, free: 9.613 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009823/0.1323, allocations: 0.9462 MB / 1.031 GB, free: 8.664 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.1327, allocations: 394.8 kB / 1.031 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.1327, allocations: 52 kB / 1.031 GB, free: 8.227 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.134, allocations: 1.225 MB / 1.033 GB, free: 7 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006047/0.1346, allocations: 167.4 kB / 1.033 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1347, allocations: 251.5 kB / 1.033 GB, free: 6.59 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1358, allocations: 1.328 MB / 1.034 GB, free: 5.258 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1358, allocations: 0 / 1.034 GB, free: 5.258 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1358, allocations: 0 / 1.034 GB, free: 5.258 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.1358, allocations: 4 kB / 1.034 GB, free: 5.254 MB / 0.9948 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.000915/0.1367, allocations: 0.9666 MB / 1.035 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1367, allocations: 12.62 kB / 1.035 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005922/0.1373, allocations: 243.8 kB / 1.035 GB, free: 4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1376, allocations: 370.7 kB / 1.036 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.1377, allocations: 41.69 kB / 1.036 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.1377, allocations: 64.36 kB / 1.036 GB, free: 3.504 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.1383, allocations: 0.8469 MB / 1.037 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1383, allocations: 7.922 kB / 1.037 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.1384, allocations: 31.97 kB / 1.037 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1384, allocations: 12 kB / 1.037 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.1386, allocations: 218.6 kB / 1.037 GB, free: 2.246 MB / 0.9948 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.006661/0.1453, allocations: 5.331 MB / 1.042 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1454, allocations: 99.64 kB / 1.042 GB, free: 12.71 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.1455, allocations: 52.83 kB / 1.042 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002327/0.1478, allocations: 1.323 MB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.1478, allocations: 49.55 kB / 1.044 GB, free: 11.28 MB / 1.01 GB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.1478, allocations: 0 / 1.044 GB, free: 11.28 MB / 1.01 GB Notification: Performance of matching and sorting (n=40): time 0.01621/0.164, allocations: 7.03 MB / 1.051 GB, free: 4.223 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1641, allocations: 136.5 kB / 1.051 GB, free: 4.059 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1643, allocations: 386.3 kB / 1.051 GB, free: 3.664 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1643, allocations: 37.7 kB / 1.051 GB, free: 3.621 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1645, allocations: 375.2 kB / 1.051 GB, free: 3.25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.1645, allocations: 142.7 kB / 1.052 GB, free: 3.109 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1646, allocations: 111.9 kB / 1.052 GB, free: 2.988 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1648, allocations: 0.5312 MB / 1.052 GB, free: 2.445 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.1649, allocations: 77.25 kB / 1.052 GB, free: 2.371 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1651, allocations: 392.3 kB / 1.053 GB, free: 1.871 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.1654, allocations: 383.9 kB / 1.053 GB, free: 1.414 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1654, allocations: 4 kB / 1.053 GB, free: 1.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006599/0.166, allocations: 0.4946 MB / 1.053 GB, free: 0.9023 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.166, allocations: 15.94 kB / 1.053 GB, free: 0.8867 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1661, allocations: 4 kB / 1.053 GB, free: 0.8828 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.1666, allocations: 111.3 kB / 1.054 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1668, allocations: 103.8 kB / 1.054 GB, free: 0.6641 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3729/0.5396, allocations: 4.044 MB / 1.058 GB, free: 70.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.54, allocations: 19.95 kB / 1.058 GB, free: 70.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.54, allocations: 21.98 kB / 1.058 GB, free: 70.34 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.0001647/0.5402, allocations: 193.9 kB / 1.058 GB, free: 70.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.5403, allocations: 78.94 kB / 1.058 GB, free: 70.18 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.5409, allocations: 0.5064 MB / 1.058 GB, free: 70.02 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5409, allocations: 7.344 kB / 1.058 GB, free: 70.02 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.5409, allocations: 0 / 1.058 GB, free: 70.02 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5409, allocations: 3.375 kB / 1.058 GB, free: 70.02 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009593/0.5418, allocations: 1.056 MB / 1.059 GB, free: 69.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.5418, allocations: 5.125 kB / 1.059 GB, free: 69.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.542, allocations: 55.56 kB / 1.06 GB, free: 69.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.5421, allocations: 74.39 kB / 1.06 GB, free: 69.46 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.5421, allocations: 12.03 kB / 1.06 GB, free: 69.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007071/0.5429, allocations: 2.066 MB / 1.062 GB, free: 67.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5429, allocations: 6.062 kB / 1.062 GB, free: 67.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.5433, allocations: 0.5971 MB / 1.062 GB, free: 67.13 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.5434, allocations: 41.98 kB / 1.062 GB, free: 67.11 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.5434, allocations: 12.81 kB / 1.062 GB, free: 67.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.5435, allocations: 18.83 kB / 1.062 GB, free: 67.11 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.5436, allocations: 41.31 kB / 1.062 GB, free: 67.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.5436, allocations: 15.25 kB / 1.062 GB, free: 67.11 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001001/0.5437, allocations: 252.7 kB / 1.063 GB, free: 66.99 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5437, allocations: 2.906 kB / 1.063 GB, free: 66.99 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001681/0.5454, allocations: 0.706 MB / 1.063 GB, free: 66.99 MB / 1.01 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.001934/0.5473, allocations: 431.2 kB / 1.064 GB, free: 66.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000565/0.5479, allocations: 0.616 MB / 1.064 GB, free: 66.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5479, allocations: 0 / 1.064 GB, free: 66.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.5481, allocations: 280.7 kB / 1.065 GB, free: 66.36 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.5487, allocations: 231.6 kB / 1.065 GB, free: 66.35 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5497, allocations: 1.046 MB / 1.066 GB, free: 65.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.5498, allocations: 136.2 kB / 1.066 GB, free: 65.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002245/0.55, allocations: 82.73 kB / 1.066 GB, free: 65.63 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.5503, allocations: 267.6 kB / 1.066 GB, free: 65.56 MB / 1.01 GB Notification: Performance of SimCode: time 1.022e-06/0.5503, allocations: 0.9062 kB / 1.066 GB, free: 65.56 MB / 1.01 GB Notification: Performance of Templates: time 0.04373/0.594, allocations: 35.39 MB / 1.101 GB, free: 64.54 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.033903192263097]