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.00142/0.00142, allocations: 80.88 kB / 20.75 MB, free: 3.578 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.001711/0.001711, allocations: 165 kB / 24.16 MB, free: 172 kB / 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.9532/0.9532, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.763/1.763, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 5.031 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.509e-05, allocations: 6.312 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1172/0.1172, allocations: 136.2 MB / 0.893 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004825/0.1221, allocations: 5.79 MB / 0.8987 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.1222, allocations: 19.88 kB / 0.8987 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.1227, allocations: 202.4 kB / 0.8989 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009295/0.1236, allocations: 0.7457 MB / 0.8996 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1247, allocations: 0.9891 MB / 0.9006 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008323/0.1256, allocations: 1.364 MB / 0.9019 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.1259, allocations: 379 kB / 0.9023 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008969/0.1268, allocations: 0.9385 MB / 0.9032 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.1271, allocations: 378.9 kB / 0.9035 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.1272, allocations: 52 kB / 0.9036 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.1283, allocations: 1.233 MB / 0.9048 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1284, allocations: 159.4 kB / 0.905 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.1286, allocations: 247.5 kB / 0.9052 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009571/0.1296, allocations: 1.336 MB / 0.9065 GB, free: 244 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1296, allocations: 0 / 0.9065 GB, free: 244 kB / 0.8542 GB Notification: Performance of FrontEnd: time 8.61e-07/0.1296, allocations: 0 / 0.9065 GB, free: 244 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1296, allocations: 0 / 0.9065 GB, free: 244 kB / 0.8542 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.0008289/0.1304, allocations: 0.8384 MB / 0.9073 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.1304, allocations: 8.031 kB / 0.9073 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005494/0.131, allocations: 232.2 kB / 0.9075 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.1313, allocations: 329.1 kB / 0.9079 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1313, allocations: 41.69 kB / 0.9079 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.1314, allocations: 60.38 kB / 0.908 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005615/0.1319, allocations: 0.8266 MB / 0.9088 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.132, allocations: 11.86 kB / 0.9088 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.132, allocations: 28 kB / 0.9088 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.132, allocations: 16 kB / 0.9088 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.1322, allocations: 199.2 kB / 0.909 GB, free: 13.48 MB / 0.8698 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.005661/0.1379, allocations: 4.547 MB / 0.9134 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.138, allocations: 79.23 kB / 0.9135 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.1381, allocations: 45.3 kB / 0.9136 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/0.1401, allocations: 1.302 MB / 0.9148 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.1401, allocations: 38.73 kB / 0.9149 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=27): time 1.262e-06/0.1401, allocations: 0 / 0.9149 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.01488/0.155, allocations: 7.117 MB / 0.9218 GB, free: 256 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1551, allocations: 136.5 kB / 0.922 GB, free: 88 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1554, allocations: 323.2 kB / 0.9223 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1554, allocations: 29.7 kB / 0.9223 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1555, allocations: 305 kB / 0.9226 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.1556, allocations: 150.7 kB / 0.9227 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/0.1557, allocations: 98.25 kB / 0.9228 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.1558, allocations: 362.6 kB / 0.9232 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.1558, allocations: 69.22 kB / 0.9232 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.156, allocations: 314 kB / 0.9235 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.1563, allocations: 328.8 kB / 0.9238 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1563, allocations: 4 kB / 0.9238 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005449/0.1568, allocations: 420 kB / 0.9242 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1568, allocations: 8 kB / 0.9243 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1568, allocations: 7.938 kB / 0.9243 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.1571, allocations: 101.8 kB / 0.9244 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.1573, allocations: 107.8 kB / 0.9245 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.1586, allocations: 2.743 MB / 0.9271 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.1587, allocations: 28.14 kB / 0.9272 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.1588, allocations: 16 kB / 0.9272 GB, free: 10.34 MB / 0.8855 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.0001116/0.1589, allocations: 144.5 kB / 0.9273 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.159, allocations: 63.72 kB / 0.9274 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.1595, allocations: 458.7 kB / 0.9278 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1595, allocations: 4 kB / 0.9278 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1595, allocations: 0 / 0.9278 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1595, allocations: 3.984 kB / 0.9278 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.1603, allocations: 0.8351 MB / 0.9286 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1603, allocations: 11.94 kB / 0.9287 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1604, allocations: 51.91 kB / 0.9287 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002855/0.1607, allocations: 76.78 kB / 0.9288 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1607, allocations: 8 kB / 0.9288 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007276/0.1614, allocations: 1.403 MB / 0.9302 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1614, allocations: 7.984 kB / 0.9302 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.1618, allocations: 461.8 kB / 0.9306 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.1619, allocations: 43.73 kB / 0.9306 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.1619, allocations: 12 kB / 0.9307 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.162, allocations: 19.98 kB / 0.9307 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1621, allocations: 35.83 kB / 0.9307 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1621, allocations: 16 kB / 0.9307 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.838e-05/0.1622, allocations: 132.7 kB / 0.9309 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.1622, allocations: 0 / 0.9309 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001244/0.1634, allocations: 0.7145 MB / 0.9315 GB, free: 5.57 MB / 0.8855 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.001802/0.1652, allocations: 429.6 kB / 0.932 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.1657, allocations: 0.4998 MB / 0.9324 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.1657, allocations: 8 kB / 0.9325 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.1659, allocations: 229.1 kB / 0.9327 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.1664, allocations: 211.9 kB / 0.9329 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009896/0.1674, allocations: 0.9912 MB / 0.9338 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.157e-05/0.1675, allocations: 133.6 kB / 0.934 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.1677, allocations: 90.16 kB / 0.9341 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.168, allocations: 209.2 kB / 0.9343 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/0.168, allocations: 0 / 0.9343 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of Templates: time 0.03408/0.202, allocations: 34.13 MB / 0.9676 GB, free: 0.9062 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.642842740286142]