Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00143/0.00143, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001642/0.001642, allocations: 210.7 kB / 22.24 MB, free: 4.859 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.933/2.933, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002138/0.002138, allocations: 67.69 kB / 1.117 GB, free: 41.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1923/0.5234, allocations: 144.3 MB / 1.424 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.535, allocations: 7.486 MB / 1.431 GB, free: 3.562 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005997/0.5356, allocations: 19.81 kB / 1.431 GB, free: 3.543 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.5367, allocations: 329.9 kB / 1.432 GB, free: 3.219 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.5391, allocations: 0.7502 MB / 1.432 GB, free: 2.465 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00574/0.5448, allocations: 2.159 MB / 1.434 GB, free: 320 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002229/0.5471, allocations: 1.38 MB / 1.436 GB, free: 14.92 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000715/0.5478, allocations: 362.1 kB / 1.436 GB, free: 14.56 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/0.5517, allocations: 1.486 MB / 1.438 GB, free: 13.07 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008594/0.5526, allocations: 438.1 kB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.5527, allocations: 52 kB / 1.438 GB, free: 12.59 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007213/0.5599, allocations: 3.507 MB / 1.441 GB, free: 9.078 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.5602, allocations: 151.4 kB / 1.442 GB, free: 8.93 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005411/0.5608, allocations: 298.8 kB / 1.442 GB, free: 8.637 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005297/0.566, allocations: 2.583 MB / 1.444 GB, free: 6.047 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5661, allocations: 0 / 1.444 GB, free: 6.047 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5661, allocations: 0 / 1.444 GB, free: 6.047 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.5661, allocations: 0 / 1.444 GB, free: 6.047 MB / 1.139 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.002395/0.5685, allocations: 0.9678 MB / 1.445 GB, free: 5.047 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.5685, allocations: 12.03 kB / 1.445 GB, free: 5.035 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.5696, allocations: 135.5 kB / 1.446 GB, free: 4.902 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.5704, allocations: 371.3 kB / 1.446 GB, free: 4.512 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.5705, allocations: 37.31 kB / 1.446 GB, free: 4.473 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/0.5706, allocations: 55.94 kB / 1.446 GB, free: 4.418 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.572, allocations: 0.9866 MB / 1.447 GB, free: 3.305 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.572, allocations: 3.953 kB / 1.447 GB, free: 3.301 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.5721, allocations: 28 kB / 1.447 GB, free: 3.273 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.5721, allocations: 16 kB / 1.447 GB, free: 3.258 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.5732, allocations: 471.5 kB / 1.447 GB, free: 2.797 MB / 1.139 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.01686/0.5901, allocations: 5.502 MB / 1.453 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.5906, allocations: 159.1 kB / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.5909, allocations: 117.2 kB / 1.453 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/0.6033, allocations: 3.262 MB / 1.456 GB, free: 9.664 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.6034, allocations: 42.78 kB / 1.456 GB, free: 9.613 MB / 1.154 GB Notification: Performance of pre-optimization done (n=27): time 2.244e-06/0.6034, allocations: 0 / 1.456 GB, free: 9.613 MB / 1.154 GB Notification: Performance of matching and sorting (n=40): time 0.09182/0.6952, allocations: 30.53 MB / 1.486 GB, free: 11.06 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.6953, allocations: 144.4 kB / 1.486 GB, free: 10.89 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.6958, allocations: 349.5 kB / 1.487 GB, free: 10.54 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.6958, allocations: 33.7 kB / 1.487 GB, free: 10.5 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.6961, allocations: 324.5 kB / 1.487 GB, free: 10.18 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.6962, allocations: 154.7 kB / 1.487 GB, free: 10.03 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.6964, allocations: 102.3 kB / 1.487 GB, free: 9.922 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.6966, allocations: 358.7 kB / 1.488 GB, free: 9.562 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.697, allocations: 177.2 kB / 1.488 GB, free: 9.391 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/0.6977, allocations: 435.2 kB / 1.488 GB, free: 8.875 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.6987, allocations: 0.5246 MB / 1.489 GB, free: 8.293 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6987, allocations: 0 / 1.489 GB, free: 8.293 MB / 1.186 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001875/0.7006, allocations: 0.6881 MB / 1.489 GB, free: 7.594 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.7006, allocations: 4.531 kB / 1.489 GB, free: 7.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.7006, allocations: 12 kB / 1.489 GB, free: 7.578 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005058/0.7012, allocations: 121.5 kB / 1.489 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.7016, allocations: 115.8 kB / 1.49 GB, free: 7.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.7052, allocations: 3.141 MB / 1.493 GB, free: 4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.7057, allocations: 32.2 kB / 1.493 GB, free: 3.969 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.7058, allocations: 27.98 kB / 1.493 GB, free: 3.941 MB / 1.186 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.0003676/0.7062, allocations: 189.6 kB / 1.493 GB, free: 3.746 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.7064, allocations: 47.72 kB / 1.493 GB, free: 3.699 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.7079, allocations: 0.6543 MB / 1.494 GB, free: 3.02 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.7079, allocations: 4 kB / 1.494 GB, free: 3.016 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.7079, allocations: 0 / 1.494 GB, free: 3.016 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.7079, allocations: 3.938 kB / 1.494 GB, free: 3.012 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.7102, allocations: 1.038 MB / 1.495 GB, free: 1.887 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7102, allocations: 4 kB / 1.495 GB, free: 1.883 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.7106, allocations: 71.89 kB / 1.495 GB, free: 1.812 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/0.7108, allocations: 68.75 kB / 1.495 GB, free: 1.742 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.7109, allocations: 12 kB / 1.495 GB, free: 1.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.7128, allocations: 1.599 MB / 1.496 GB, free: 32 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.7128, allocations: 11.88 kB / 1.496 GB, free: 20 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.7144, allocations: 0.7143 MB / 1.497 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.7145, allocations: 39.8 kB / 1.497 GB, free: 15.2 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.15e-05/0.7146, allocations: 12 kB / 1.497 GB, free: 15.19 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.715, allocations: 15.98 kB / 1.497 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.7151, allocations: 43.83 kB / 1.497 GB, free: 15.13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.7151, allocations: 15.98 kB / 1.497 GB, free: 15.11 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003579/0.7155, allocations: 263.2 kB / 1.497 GB, free: 14.86 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7155, allocations: 4.062 kB / 1.497 GB, free: 14.85 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00191/0.7174, allocations: 0.5695 MB / 1.498 GB, free: 14.28 MB / 1.201 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.002059/0.7194, allocations: 0.5528 MB / 1.498 GB, free: 13.71 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.721, allocations: 0.6385 MB / 1.499 GB, free: 13.05 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.721, allocations: 4 kB / 1.499 GB, free: 13.05 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.7216, allocations: 274.4 kB / 1.499 GB, free: 12.77 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.7228, allocations: 212.9 kB / 1.5 GB, free: 12.56 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.7249, allocations: 1.124 MB / 1.501 GB, free: 11.36 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.7252, allocations: 266.4 kB / 1.501 GB, free: 11.08 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000375/0.7256, allocations: 96.56 kB / 1.501 GB, free: 10.99 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.7257, allocations: 35.44 kB / 1.501 GB, free: 10.95 MB / 1.201 GB Notification: Performance of SimCode: time 6.92e-07/0.7257, allocations: 0 / 1.501 GB, free: 10.95 MB / 1.201 GB Notification: Performance of Templates: time 0.03547/0.7612, allocations: 21.6 MB / 1.522 GB, free: 5.621 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.46827283501625]