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.002092/0.002092, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.00297/0.00297, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.605/1.605, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.335/3.335, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.354e-06/2.354e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.72e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2387/0.2388, allocations: 144.2 MB / 1.018 GB, free: 5.762 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.2523, allocations: 7.489 MB / 1.026 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008553/0.2532, allocations: 23.81 kB / 1.026 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.2544, allocations: 337.7 kB / 1.026 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.2573, allocations: 0.7768 MB / 1.027 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006585/0.2639, allocations: 2.18 MB / 1.029 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0025/0.2664, allocations: 1.387 MB / 1.03 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000821/0.2672, allocations: 370.4 kB / 1.031 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.2719, allocations: 1.696 MB / 1.032 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008269/0.2727, allocations: 386.8 kB / 1.033 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.2729, allocations: 52 kB / 1.033 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008546/0.2814, allocations: 3.519 MB / 1.036 GB, free: 3.508 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.2818, allocations: 155.4 kB / 1.036 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006471/0.2824, allocations: 263.5 kB / 1.037 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007053/0.2895, allocations: 3.126 MB / 1.04 GB, free: 15.96 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2895, allocations: 0 / 1.04 GB, free: 15.96 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2895, allocations: 0 / 1.04 GB, free: 15.96 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.2895, allocations: 0 / 1.04 GB, free: 15.96 MB / 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.002672/0.2921, allocations: 0.9639 MB / 1.041 GB, free: 14.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2922, allocations: 12.03 kB / 1.041 GB, free: 14.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.294, allocations: 250.8 kB / 1.041 GB, free: 14.71 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.2949, allocations: 383.3 kB / 1.041 GB, free: 14.32 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.2949, allocations: 41.31 kB / 1.041 GB, free: 14.28 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.295, allocations: 52 kB / 1.041 GB, free: 14.23 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.2967, allocations: 0.9789 MB / 1.042 GB, free: 13.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.2967, allocations: 3.938 kB / 1.042 GB, free: 13.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/0.2968, allocations: 28 kB / 1.042 GB, free: 13.08 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.2968, allocations: 23.88 kB / 1.042 GB, free: 13.06 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.2979, allocations: 463.6 kB / 1.043 GB, free: 12.61 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.01716/0.3151, allocations: 5.517 MB / 1.048 GB, free: 7.008 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.3156, allocations: 151.2 kB / 1.048 GB, free: 6.852 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.3159, allocations: 113.3 kB / 1.048 GB, free: 6.738 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/0.3281, allocations: 3.266 MB / 1.052 GB, free: 3.469 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/0.3281, allocations: 42.73 kB / 1.052 GB, free: 3.418 MB / 1.01 GB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/0.3281, allocations: 0 / 1.052 GB, free: 3.418 MB / 1.01 GB Notification: Performance of matching and sorting (n=40): time 0.6184/0.9465, allocations: 30.53 MB / 1.081 GB, free: 217.7 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.9466, allocations: 137.9 kB / 1.082 GB, free: 217.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007659/0.9474, allocations: 359.1 kB / 1.082 GB, free: 217.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/0.9474, allocations: 32.27 kB / 1.082 GB, free: 217.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.9477, allocations: 322.9 kB / 1.082 GB, free: 217.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.9479, allocations: 148.3 kB / 1.082 GB, free: 217 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.9481, allocations: 103 kB / 1.082 GB, free: 216.9 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.9483, allocations: 353.2 kB / 1.083 GB, free: 216.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.949, allocations: 175.1 kB / 1.083 GB, free: 216.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009362/0.9499, allocations: 432.1 kB / 1.083 GB, free: 216.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.9515, allocations: 0.5135 MB / 1.084 GB, free: 215.9 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.9516, allocations: 1.312 kB / 1.084 GB, free: 215.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003345/0.9549, allocations: 0.7232 MB / 1.085 GB, free: 215.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.9549, allocations: 9.938 kB / 1.085 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.9549, allocations: 3.406 kB / 1.085 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.956, allocations: 137 kB / 1.085 GB, free: 215.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009157/0.9569, allocations: 117.2 kB / 1.085 GB, free: 215.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004358/0.9613, allocations: 3.152 MB / 1.088 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009941/0.9623, allocations: 28 kB / 1.088 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.9624, allocations: 25.59 kB / 1.088 GB, free: 212.6 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.000472/0.9629, allocations: 196 kB / 1.088 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004947/0.9634, allocations: 66.73 kB / 1.088 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.9658, allocations: 0.6088 MB / 1.089 GB, free: 212.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.9658, allocations: 3.625 kB / 1.089 GB, free: 212.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9658, allocations: 1.594 kB / 1.089 GB, free: 212.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.9658, allocations: 3.281 kB / 1.089 GB, free: 212.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.9697, allocations: 1.13 MB / 1.09 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.9697, allocations: 8.719 kB / 1.09 GB, free: 211.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.9703, allocations: 71.05 kB / 1.09 GB, free: 211.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/0.9709, allocations: 85.92 kB / 1.09 GB, free: 211.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.9709, allocations: 11.03 kB / 1.09 GB, free: 211.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.9734, allocations: 1.605 MB / 1.092 GB, free: 209.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.9734, allocations: 12.73 kB / 1.092 GB, free: 209.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.9758, allocations: 0.7207 MB / 1.092 GB, free: 209.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.976, allocations: 37.17 kB / 1.092 GB, free: 209.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.9762, allocations: 19.53 kB / 1.092 GB, free: 209.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.9769, allocations: 24.42 kB / 1.092 GB, free: 209.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.9771, allocations: 40.77 kB / 1.093 GB, free: 209.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.9771, allocations: 17.48 kB / 1.093 GB, free: 209.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005508/0.9777, allocations: 264.1 kB / 1.093 GB, free: 209.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9777, allocations: 0 / 1.093 GB, free: 209.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002922/0.9806, allocations: 0.5201 MB / 1.093 GB, free: 209.2 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.003668/0.9843, allocations: 0.5442 MB / 1.094 GB, free: 209 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002521/0.9868, allocations: 0.6455 MB / 1.094 GB, free: 208.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.9868, allocations: 1.125 kB / 1.094 GB, free: 208.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009532/0.9878, allocations: 287.8 kB / 1.095 GB, free: 208.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.99, allocations: 226.3 kB / 1.095 GB, free: 208.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.993, allocations: 1.076 MB / 1.096 GB, free: 207.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.9934, allocations: 262.9 kB / 1.096 GB, free: 207.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007063/0.9941, allocations: 96.97 kB / 1.096 GB, free: 207.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.9943, allocations: 38.5 kB / 1.096 GB, free: 207.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.332e-06/0.9943, allocations: 3.938 kB / 1.096 GB, free: 207.6 MB / 1.01 GB Notification: Performance of Templates: time 0.05711/1.051, allocations: 20.18 MB / 1.116 GB, free: 202.6 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.103167086024769]