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.001126/0.001126, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001717/0.002844, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001205/0.001205, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.00261, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8841/0.8841, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/0.985, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.77/1.77, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4507/2.22, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 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.332e-06/1.332e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.125e-06/9.457e-06, allocations: 3.5 kB / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1125/0.1125, allocations: 136.6 MB / 0.8631 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00559/0.1181, allocations: 5.817 MB / 0.8688 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.1183, allocations: 23.81 kB / 0.8688 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.1187, allocations: 206.4 kB / 0.869 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.1199, allocations: 0.7146 MB / 0.8697 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.1214, allocations: 0.9422 MB / 0.8706 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.1225, allocations: 1.368 MB / 0.8719 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/0.1229, allocations: 371 kB / 0.8723 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.1239, allocations: 0.9753 MB / 0.8732 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.1243, allocations: 382.8 kB / 0.8736 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.1244, allocations: 52 kB / 0.8737 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.1259, allocations: 1.295 MB / 0.8749 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.126, allocations: 119.6 kB / 0.875 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1261, allocations: 207.6 kB / 0.8752 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.1271, allocations: 1.071 MB / 0.8763 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.1271, allocations: 0 / 0.8763 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1271, allocations: 4 kB / 0.8763 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.1271, allocations: 0 / 0.8763 GB, free: 13.92 MB / 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.001103/0.1282, allocations: 1.105 MB / 0.8774 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.1283, allocations: 8.031 kB / 0.8774 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.1288, allocations: 240.1 kB / 0.8776 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.1292, allocations: 325.2 kB / 0.8779 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.1292, allocations: 41.69 kB / 0.8779 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.1293, allocations: 52.38 kB / 0.878 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/0.1298, allocations: 0.8383 MB / 0.8788 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1298, allocations: 3.938 kB / 0.8788 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.1299, allocations: 28 kB / 0.8788 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1299, allocations: 12 kB / 0.8789 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.1301, allocations: 207.2 kB / 0.8791 GB, free: 10.88 MB / 0.8542 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.005768/0.1359, allocations: 4.551 MB / 0.8835 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.136, allocations: 79.88 kB / 0.8836 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.136, allocations: 49.31 kB / 0.8836 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/0.1382, allocations: 1.294 MB / 0.8849 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1383, allocations: 42.73 kB / 0.8849 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.343e-06/0.1383, allocations: 0 / 0.8849 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.002278/0.1406, allocations: 1.293 MB / 0.8862 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.1406, allocations: 59.34 kB / 0.8862 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1408, allocations: 319.2 kB / 0.8865 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1408, allocations: 37.7 kB / 0.8866 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1409, allocations: 289.1 kB / 0.8869 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.141, allocations: 158.7 kB / 0.887 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.141, allocations: 98.25 kB / 0.8871 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.1411, allocations: 358.6 kB / 0.8874 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.1412, allocations: 65.28 kB / 0.8875 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.1414, allocations: 318.1 kB / 0.8878 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.1416, allocations: 337.2 kB / 0.8881 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1416, allocations: 0 / 0.8881 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000534/0.1422, allocations: 410.3 kB / 0.8885 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1422, allocations: 8 kB / 0.8885 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1422, allocations: 4.531 kB / 0.8885 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.1424, allocations: 113.6 kB / 0.8886 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1427, allocations: 115.9 kB / 0.8888 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.1443, allocations: 2.751 MB / 0.8914 GB, free: 13.68 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.1445, allocations: 27.98 kB / 0.8915 GB, free: 13.65 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1445, allocations: 16 kB / 0.8915 GB, free: 13.64 MB / 0.8699 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.0001109/0.1446, allocations: 148.4 kB / 0.8916 GB, free: 13.48 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1447, allocations: 47.91 kB / 0.8917 GB, free: 13.43 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.1452, allocations: 439.1 kB / 0.8921 GB, free: 12.98 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1452, allocations: 4 kB / 0.8921 GB, free: 12.98 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1452, allocations: 3.984 kB / 0.8921 GB, free: 12.97 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1452, allocations: 0 / 0.8921 GB, free: 12.97 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008267/0.146, allocations: 0.8559 MB / 0.8929 GB, free: 12.02 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.146, allocations: 4 kB / 0.8929 GB, free: 12.01 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1462, allocations: 67.91 kB / 0.893 GB, free: 11.95 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.1462, allocations: 35.75 kB / 0.893 GB, free: 11.91 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.1474, allocations: 0.7539 MB / 0.8938 GB, free: 11.16 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1474, allocations: 12 kB / 0.8938 GB, free: 11.14 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007172/0.1481, allocations: 1.407 MB / 0.8952 GB, free: 9.652 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1481, allocations: 4 kB / 0.8952 GB, free: 9.648 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.1485, allocations: 478.2 kB / 0.8956 GB, free: 9.102 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.1486, allocations: 15.98 kB / 0.8956 GB, free: 9.086 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1487, allocations: 12 kB / 0.8956 GB, free: 9.074 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1488, allocations: 47.81 kB / 0.8957 GB, free: 9.027 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1488, allocations: 15.94 kB / 0.8957 GB, free: 9.012 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 9.32e-05/0.1489, allocations: 136.7 kB / 0.8958 GB, free: 8.875 MB / 0.8699 GB Notification: Performance of sort global known variables: time 7e-08/0.1489, allocations: 4.031 kB / 0.8958 GB, free: 8.871 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0005049/0.1494, allocations: 263.8 kB / 0.8961 GB, free: 8.613 MB / 0.8699 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.0004224/0.1498, allocations: 254 kB / 0.8963 GB, free: 8.355 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0004995/0.1503, allocations: 0.5001 MB / 0.8968 GB, free: 7.828 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/0.1503, allocations: 15.89 kB / 0.8968 GB, free: 7.812 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.1505, allocations: 241.4 kB / 0.8971 GB, free: 7.562 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/0.1514, allocations: 1.188 MB / 0.8982 GB, free: 6.168 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.1573, allocations: 1.026 MB / 0.8992 GB, free: 5.047 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.418e-05/0.1574, allocations: 129.8 kB / 0.8994 GB, free: 4.898 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.1576, allocations: 76.97 kB / 0.8994 GB, free: 4.828 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.1579, allocations: 221.1 kB / 0.8996 GB, free: 4.609 MB / 0.8699 GB Notification: Performance of SimCode: time 7.52e-07/0.1579, allocations: 4 kB / 0.8996 GB, free: 4.605 MB / 0.8699 GB Notification: Performance of Templates: time 0.01426/0.1721, allocations: 13.12 MB / 0.9125 GB, free: 7.695 MB / 0.8855 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.019748763181269]