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.001734/0.001734, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 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.001941/0.001941, allocations: 214 kB / 23.04 MB, free: 4.867 MB / 14.72 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 1.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.164/3.164, allocations: 0.49 GB / 0.7959 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.95 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3828, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.191/0.5738, allocations: 144.3 MB / 1.468 GB, free: 136 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.5854, allocations: 7.487 MB / 1.475 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007549/0.5862, allocations: 23.81 kB / 1.475 GB, free: 8.594 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.5875, allocations: 333.9 kB / 1.476 GB, free: 8.266 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.5898, allocations: 0.7553 MB / 1.476 GB, free: 7.508 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005505/0.5953, allocations: 2.156 MB / 1.479 GB, free: 5.355 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002023/0.5973, allocations: 1.376 MB / 1.48 GB, free: 3.977 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.598, allocations: 361.8 kB / 1.48 GB, free: 3.617 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004007/0.602, allocations: 1.49 MB / 1.482 GB, free: 2.121 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008845/0.6029, allocations: 442.1 kB / 1.482 GB, free: 1.688 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.603, allocations: 52 kB / 1.482 GB, free: 1.637 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007112/0.6101, allocations: 3.496 MB / 1.486 GB, free: 14.14 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.6105, allocations: 163.4 kB / 1.486 GB, free: 13.98 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006055/0.6111, allocations: 290.8 kB / 1.486 GB, free: 13.69 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.6163, allocations: 2.583 MB / 1.489 GB, free: 11.1 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.6163, allocations: 0 / 1.489 GB, free: 11.1 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.905e-06/0.6163, allocations: 0 / 1.489 GB, free: 11.1 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.6163, allocations: 0 / 1.489 GB, free: 11.1 MB / 1.186 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.002269/0.6186, allocations: 0.9678 MB / 1.49 GB, free: 10.1 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6186, allocations: 8.031 kB / 1.49 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.6197, allocations: 135.5 kB / 1.49 GB, free: 9.961 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007687/0.6205, allocations: 379.2 kB / 1.49 GB, free: 9.559 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.6206, allocations: 37.31 kB / 1.49 GB, free: 9.52 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.6207, allocations: 51.95 kB / 1.49 GB, free: 9.469 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.6221, allocations: 0.9942 MB / 1.491 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.6221, allocations: 0 / 1.491 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.6222, allocations: 28 kB / 1.491 GB, free: 8.32 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.6222, allocations: 12 kB / 1.491 GB, free: 8.309 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.6232, allocations: 467.5 kB / 1.492 GB, free: 7.852 MB / 1.186 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.01581/0.639, allocations: 5.506 MB / 1.497 GB, free: 2.27 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.6395, allocations: 159 kB / 1.497 GB, free: 2.105 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.6398, allocations: 121.3 kB / 1.497 GB, free: 1.984 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.6514, allocations: 3.266 MB / 1.5 GB, free: 14.71 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/0.6515, allocations: 38.8 kB / 1.5 GB, free: 14.67 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 3.357e-06/0.6515, allocations: 0 / 1.5 GB, free: 14.67 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.08439/0.7358, allocations: 30.53 MB / 1.53 GB, free: 128 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.736, allocations: 140.5 kB / 1.53 GB, free: 15.96 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/0.7365, allocations: 353.5 kB / 1.531 GB, free: 15.61 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.7365, allocations: 33.7 kB / 1.531 GB, free: 15.57 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.7369, allocations: 328.4 kB / 1.531 GB, free: 15.24 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.737, allocations: 150.7 kB / 1.531 GB, free: 15.09 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.7372, allocations: 102.3 kB / 1.531 GB, free: 14.98 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.7374, allocations: 354.7 kB / 1.532 GB, free: 14.63 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.7378, allocations: 185.2 kB / 1.532 GB, free: 14.45 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.7385, allocations: 431.2 kB / 1.532 GB, free: 13.94 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009987/0.7395, allocations: 0.5206 MB / 1.533 GB, free: 13.36 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7395, allocations: 0 / 1.533 GB, free: 13.36 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001916/0.7414, allocations: 0.6839 MB / 1.533 GB, free: 12.66 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.7414, allocations: 8 kB / 1.533 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.7414, allocations: 4 kB / 1.533 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.7419, allocations: 122 kB / 1.534 GB, free: 12.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.7424, allocations: 115.8 kB / 1.534 GB, free: 12.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/0.7466, allocations: 3.146 MB / 1.537 GB, free: 9.066 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.7471, allocations: 27.98 kB / 1.537 GB, free: 9.039 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.7472, allocations: 20 kB / 1.537 GB, free: 9.02 MB / 1.232 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.0003272/0.7475, allocations: 198.1 kB / 1.537 GB, free: 8.816 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.7477, allocations: 51.88 kB / 1.537 GB, free: 8.766 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.7493, allocations: 0.6521 MB / 1.538 GB, free: 8.078 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7493, allocations: 0 / 1.538 GB, free: 8.078 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7493, allocations: 4 kB / 1.538 GB, free: 8.074 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.468e-05/0.7494, allocations: 7.922 kB / 1.538 GB, free: 8.066 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.7516, allocations: 1.023 MB / 1.539 GB, free: 6.953 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.7516, allocations: 4.5 kB / 1.539 GB, free: 6.949 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.7519, allocations: 71.84 kB / 1.539 GB, free: 6.879 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002787/0.7522, allocations: 76.73 kB / 1.539 GB, free: 6.801 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.7522, allocations: 8 kB / 1.539 GB, free: 6.793 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.7545, allocations: 1.602 MB / 1.54 GB, free: 5.094 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.7545, allocations: 11.88 kB / 1.54 GB, free: 5.082 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.7564, allocations: 0.7077 MB / 1.541 GB, free: 4.309 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.7565, allocations: 43.75 kB / 1.541 GB, free: 4.266 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.7566, allocations: 16.06 kB / 1.541 GB, free: 4.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.7569, allocations: 23.92 kB / 1.541 GB, free: 4.227 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.757, allocations: 39.83 kB / 1.541 GB, free: 4.188 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.7571, allocations: 19.98 kB / 1.541 GB, free: 4.168 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003419/0.7574, allocations: 263.2 kB / 1.541 GB, free: 3.914 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7574, allocations: 0 / 1.541 GB, free: 3.914 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001994/0.7594, allocations: 0.5656 MB / 1.542 GB, free: 3.348 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.002046/0.7614, allocations: 0.551 MB / 1.543 GB, free: 2.789 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.7631, allocations: 0.6422 MB / 1.543 GB, free: 2.121 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7631, allocations: 0 / 1.543 GB, free: 2.121 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000644/0.7638, allocations: 279.5 kB / 1.543 GB, free: 1.836 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.765, allocations: 207.6 kB / 1.544 GB, free: 1.637 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.7672, allocations: 1.157 MB / 1.545 GB, free: 404 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.7675, allocations: 262.4 kB / 1.545 GB, free: 112 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.7677, allocations: 47.44 kB / 1.545 GB, free: 64 kB / 1.232 GB Notification: Performance of SimCode: time 8.91e-07/0.7677, allocations: 0 / 1.545 GB, free: 64 kB / 1.232 GB Notification: Performance of Templates: time 0.03316/0.8009, allocations: 18.87 MB / 1.563 GB, free: 13.29 MB / 1.264 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.0063873489853]