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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 198.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.059/3.059, allocations: 497.2 MB / 0.7845 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001993/0.001993, allocations: 67.08 kB / 1.139 GB, free: 33.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2943, allocations: 173.9 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1906/0.4849, allocations: 164 MB / 1.469 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01236/0.4973, allocations: 8.167 MB / 1.477 GB, free: 3.137 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006821/0.498, allocations: 19.88 kB / 1.477 GB, free: 3.117 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.4992, allocations: 357.8 kB / 1.478 GB, free: 2.766 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.5014, allocations: 0.7386 MB / 1.478 GB, free: 2.023 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00549/0.5069, allocations: 2.159 MB / 1.481 GB, free: 15.87 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.5088, allocations: 1.372 MB / 1.482 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007466/0.5096, allocations: 365.5 kB / 1.482 GB, free: 14.13 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003594/0.5132, allocations: 1.459 MB / 1.484 GB, free: 12.66 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008576/0.514, allocations: 462.1 kB / 1.484 GB, free: 12.21 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.5141, allocations: 48 kB / 1.484 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007759/0.5219, allocations: 3.636 MB / 1.488 GB, free: 8.523 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.5221, allocations: 159.5 kB / 1.488 GB, free: 8.367 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.5227, allocations: 342.5 kB / 1.488 GB, free: 8.031 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004704/0.5274, allocations: 2.579 MB / 1.491 GB, free: 5.445 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5275, allocations: 0 / 1.491 GB, free: 5.445 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5275, allocations: 0 / 1.491 GB, free: 5.445 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.773e-05/0.5275, allocations: 0 / 1.491 GB, free: 5.445 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.002592/0.5301, allocations: 1.043 MB / 1.492 GB, free: 4.352 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5301, allocations: 8.625 kB / 1.492 GB, free: 4.344 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.5314, allocations: 139.5 kB / 1.492 GB, free: 4.207 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/0.5322, allocations: 433.8 kB / 1.492 GB, free: 3.742 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.5323, allocations: 41.31 kB / 1.492 GB, free: 3.703 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/0.5324, allocations: 55.94 kB / 1.492 GB, free: 3.648 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.5337, allocations: 0.6565 MB / 1.493 GB, free: 2.941 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.5337, allocations: 3.938 kB / 1.493 GB, free: 2.938 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.5338, allocations: 28 kB / 1.493 GB, free: 2.91 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5338, allocations: 16 kB / 1.493 GB, free: 2.895 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.5349, allocations: 463.6 kB / 1.494 GB, free: 2.441 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.01798/0.5529, allocations: 6.499 MB / 1.5 GB, free: 11.66 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.5534, allocations: 159.8 kB / 1.5 GB, free: 11.5 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.5537, allocations: 117.3 kB / 1.5 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01337/0.5671, allocations: 3.849 MB / 1.504 GB, free: 7.383 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.5671, allocations: 42.78 kB / 1.504 GB, free: 7.332 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.735e-06/0.5671, allocations: 0 / 1.504 GB, free: 7.332 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.09524/0.6624, allocations: 30.62 MB / 1.534 GB, free: 8.688 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.6625, allocations: 140.5 kB / 1.534 GB, free: 8.52 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.6631, allocations: 465.8 kB / 1.534 GB, free: 8.062 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.6631, allocations: 37.7 kB / 1.534 GB, free: 8.02 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.6633, allocations: 308.1 kB / 1.535 GB, free: 7.715 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.6635, allocations: 146.8 kB / 1.535 GB, free: 7.57 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.6636, allocations: 106.2 kB / 1.535 GB, free: 7.461 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.6638, allocations: 358.8 kB / 1.535 GB, free: 7.102 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.6643, allocations: 189 kB / 1.536 GB, free: 6.914 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.6649, allocations: 353.2 kB / 1.536 GB, free: 6.504 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/0.6658, allocations: 0.5141 MB / 1.536 GB, free: 5.93 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6658, allocations: 4 kB / 1.536 GB, free: 5.926 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001808/0.6677, allocations: 0.6921 MB / 1.537 GB, free: 5.223 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6677, allocations: 4 kB / 1.537 GB, free: 5.219 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.6677, allocations: 11.98 kB / 1.537 GB, free: 5.207 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004963/0.6682, allocations: 122 kB / 1.537 GB, free: 5.082 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.6687, allocations: 111.8 kB / 1.537 GB, free: 4.973 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.6722, allocations: 3.41 MB / 1.541 GB, free: 1.281 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.6727, allocations: 32.05 kB / 1.541 GB, free: 1.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.6727, allocations: 23.98 kB / 1.541 GB, free: 1.227 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.0002563/0.673, allocations: 193.7 kB / 1.541 GB, free: 1.027 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.6732, allocations: 63.55 kB / 1.541 GB, free: 0.9648 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.6747, allocations: 0.6459 MB / 1.542 GB, free: 292 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6747, allocations: 4 kB / 1.542 GB, free: 288 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6747, allocations: 4 kB / 1.542 GB, free: 284 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6747, allocations: 0 / 1.542 GB, free: 284 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.677, allocations: 1.191 MB / 1.543 GB, free: 14.98 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.6771, allocations: 7.984 kB / 1.543 GB, free: 14.97 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.6774, allocations: 63.91 kB / 1.543 GB, free: 14.91 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.6777, allocations: 77.28 kB / 1.543 GB, free: 14.83 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.6777, allocations: 8 kB / 1.543 GB, free: 14.82 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.6796, allocations: 1.74 MB / 1.545 GB, free: 12.95 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6796, allocations: 4 kB / 1.545 GB, free: 12.94 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.6812, allocations: 0.7324 MB / 1.545 GB, free: 12.14 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.6813, allocations: 124.8 kB / 1.545 GB, free: 12 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.763e-05/0.6814, allocations: 12 kB / 1.545 GB, free: 11.99 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.6818, allocations: 19.98 kB / 1.545 GB, free: 11.97 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.6819, allocations: 39.91 kB / 1.545 GB, free: 11.93 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.6819, allocations: 19.98 kB / 1.545 GB, free: 11.91 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000474/0.6824, allocations: 358.8 kB / 1.546 GB, free: 11.56 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6824, allocations: 0 / 1.546 GB, free: 11.56 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001609/0.684, allocations: 0.5617 MB / 1.546 GB, free: 11 MB / 1.248 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.002118/0.6861, allocations: 0.5544 MB / 1.547 GB, free: 10.44 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.6877, allocations: 0.6525 MB / 1.548 GB, free: 9.766 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6877, allocations: 0 / 1.548 GB, free: 9.766 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.6884, allocations: 285.5 kB / 1.548 GB, free: 9.477 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.69, allocations: 313.6 kB / 1.548 GB, free: 9.176 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.6921, allocations: 1.142 MB / 1.549 GB, free: 7.953 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.6926, allocations: 0.8628 MB / 1.55 GB, free: 7.062 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003958/0.693, allocations: 106.8 kB / 1.55 GB, free: 6.965 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.6931, allocations: 47.42 kB / 1.55 GB, free: 6.918 MB / 1.248 GB Notification: Performance of SimCode: time 6.82e-07/0.6931, allocations: 4 kB / 1.55 GB, free: 6.914 MB / 1.248 GB Notification: Performance of Templates: time 0.03638/0.7295, allocations: 23.31 MB / 1.573 GB, free: 15.82 MB / 1.279 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.327803927939385]