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.001434/0.001434, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001589/0.001589, allocations: 161.4 kB / 24.16 MB, free: 332 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.9888/0.9888, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.857/1.857, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.343e-06/1.343e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.805e-05, allocations: 2.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.1214/0.1214, allocations: 136.2 MB / 0.8931 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005114/0.1265, allocations: 5.79 MB / 0.8988 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.1267, allocations: 23.81 kB / 0.8988 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.1272, allocations: 198.4 kB / 0.899 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1282, allocations: 0.7262 MB / 0.8997 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1294, allocations: 0.9383 MB / 0.9006 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008977/0.1303, allocations: 1.368 MB / 0.9019 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/0.1307, allocations: 367 kB / 0.9023 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.1318, allocations: 0.9423 MB / 0.9032 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.1322, allocations: 378.9 kB / 0.9036 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.1322, allocations: 52 kB / 0.9036 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1337, allocations: 1.303 MB / 0.9049 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1338, allocations: 163.4 kB / 0.905 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.134, allocations: 243.5 kB / 0.9053 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.1351, allocations: 1.325 MB / 0.9066 GB, free: 208 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1351, allocations: 7.938 kB / 0.9066 GB, free: 200 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1351, allocations: 3.938 kB / 0.9066 GB, free: 196 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1351, allocations: 0 / 0.9066 GB, free: 196 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.0009201/0.1361, allocations: 0.8308 MB / 0.9074 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1361, allocations: 12.03 kB / 0.9074 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000675/0.1368, allocations: 232.1 kB / 0.9076 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.1371, allocations: 337.1 kB / 0.9079 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1371, allocations: 37.69 kB / 0.908 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.1372, allocations: 56.38 kB / 0.908 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.1378, allocations: 0.8383 MB / 0.9088 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1378, allocations: 7.875 kB / 0.9089 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.1378, allocations: 24 kB / 0.9089 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1378, allocations: 12 kB / 0.9089 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.1381, allocations: 207.2 kB / 0.9091 GB, free: 13.43 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.006204/0.1443, allocations: 4.543 MB / 0.9135 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1444, allocations: 79.25 kB / 0.9136 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.1445, allocations: 49.3 kB / 0.9136 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002235/0.1467, allocations: 1.294 MB / 0.9149 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1468, allocations: 42.73 kB / 0.9149 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.1468, allocations: 0 / 0.9149 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.01607/0.1628, allocations: 7.111 MB / 0.9219 GB, free: 208 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1629, allocations: 144.5 kB / 0.922 GB, free: 32 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1631, allocations: 323.2 kB / 0.9223 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1631, allocations: 33.7 kB / 0.9224 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1632, allocations: 297 kB / 0.9227 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.1633, allocations: 150.7 kB / 0.9228 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1634, allocations: 102.2 kB / 0.9229 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.1635, allocations: 358.6 kB / 0.9232 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.1636, allocations: 57.3 kB / 0.9233 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.1638, allocations: 322 kB / 0.9236 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.1641, allocations: 340.7 kB / 0.9239 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1641, allocations: 0 / 0.9239 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008355/0.165, allocations: 420.4 kB / 0.9243 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.165, allocations: 4 kB / 0.9243 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.165, allocations: 8 kB / 0.9243 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.1652, allocations: 105.5 kB / 0.9244 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.1655, allocations: 115.8 kB / 0.9245 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.167, allocations: 2.743 MB / 0.9272 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.1671, allocations: 23.98 kB / 0.9272 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.1672, allocations: 16.16 kB / 0.9273 GB, free: 10.29 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.0001305/0.1673, allocations: 152.5 kB / 0.9274 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.1674, allocations: 59.72 kB / 0.9275 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.1679, allocations: 450.5 kB / 0.9279 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1679, allocations: 4 kB / 0.9279 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1679, allocations: 3.938 kB / 0.9279 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1679, allocations: 0 / 0.9279 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009125/0.1689, allocations: 0.8351 MB / 0.9287 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1689, allocations: 4.062 kB / 0.9287 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.169, allocations: 67.84 kB / 0.9288 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/0.1692, allocations: 72.78 kB / 0.9289 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1692, allocations: 8 kB / 0.9289 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008312/0.17, allocations: 1.411 MB / 0.9302 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.17, allocations: 4 kB / 0.9302 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.1705, allocations: 456.3 kB / 0.9307 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.1705, allocations: 39.75 kB / 0.9307 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.1705, allocations: 12 kB / 0.9307 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1707, allocations: 23.98 kB / 0.9308 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.1707, allocations: 35.83 kB / 0.9308 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1708, allocations: 16 kB / 0.9308 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.92e-05/0.1708, allocations: 132.7 kB / 0.9309 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1708, allocations: 0 / 0.9309 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001637/0.1725, allocations: 0.7145 MB / 0.9316 GB, free: 5.52 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.001971/0.1745, allocations: 431.6 kB / 0.932 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005154/0.175, allocations: 0.506 MB / 0.9325 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.175, allocations: 8 kB / 0.9325 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.1752, allocations: 224.6 kB / 0.9328 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.1757, allocations: 212.8 kB / 0.933 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1768, allocations: 0.9934 MB / 0.9339 GB, free: 3.039 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.516e-05/0.1769, allocations: 129.6 kB / 0.934 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.1771, allocations: 85.72 kB / 0.9341 GB, free: 2.809 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.1774, allocations: 217.1 kB / 0.9343 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of SimCode: time 1.002e-06/0.1774, allocations: 0 / 0.9343 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of Templates: time 0.04227/0.2197, allocations: 34.13 MB / 0.9677 GB, free: 0.8516 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 -s gbode -gbm=radauIIA3 -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.716592852957547]