Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.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.001372/0.001372, allocations: 116 kB / 17.08 MB, free: 5.977 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.001404/0.001404, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.448/1.448, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.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 2.937/2.937, allocations: 489.3 MB / 0.7687 GB, free: 3.824 MB / 0.6075 GB " [Timeout remaining time 176] 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.Networks.Steam.Examples.ConnectionCondensatePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.port_aDisSup.m_flow|con.port_bDisRet.m_flow|con.port_aDisSup.p|con.port_bDisRet.p|con.port_bCon.p|con.port_aCon.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") translateModel(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.port_aDisSup.m_flow|con.port_bDisRet.m_flow|con.port_aDisSup.p|con.port_bDisRet.p|con.port_bCon.p|con.port_aCon.p",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002816, allocations: 67.89 kB / 1.103 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9766/0.9795, allocations: 163.8 MB / 1.263 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.311/1.291, allocations: 265.6 MB / 1.522 GB, free: 14.4 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03567/1.326, allocations: 24.33 MB / 1.546 GB, free: 6.008 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/1.33, allocations: 91.44 kB / 1.546 GB, free: 5.918 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002688/1.332, allocations: 0.8465 MB / 1.547 GB, free: 5.066 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/1.342, allocations: 3.523 MB / 1.55 GB, free: 1.539 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/1.346, allocations: 1.248 MB / 1.551 GB, free: 312 kB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005391/1.351, allocations: 3.218 MB / 1.554 GB, free: 13.08 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/1.353, allocations: 1.169 MB / 1.556 GB, free: 11.87 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01038/1.364, allocations: 3.824 MB / 1.559 GB, free: 8.031 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/1.366, allocations: 0.9062 MB / 1.56 GB, free: 7.121 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003048/1.366, allocations: 88 kB / 1.56 GB, free: 7.035 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008395/1.375, allocations: 3.761 MB / 1.564 GB, free: 3.27 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004957/1.375, allocations: 266.8 kB / 1.564 GB, free: 3.008 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/1.376, allocations: 0.6413 MB / 1.565 GB, free: 2.363 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006784/1.383, allocations: 3.334 MB / 1.568 GB, free: 15.02 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.383, allocations: 0 / 1.568 GB, free: 15.02 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.763e-06/1.383, allocations: 0 / 1.568 GB, free: 15.02 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.492e-05/1.383, allocations: 0 / 1.568 GB, free: 15.02 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003367/1.387, allocations: 1.78 MB / 1.57 GB, free: 13.18 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.387, allocations: 11.97 kB / 1.57 GB, free: 13.16 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/1.389, allocations: 298.9 kB / 1.57 GB, free: 12.87 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/1.391, allocations: 1.188 MB / 1.571 GB, free: 11.63 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/1.391, allocations: 45.31 kB / 1.571 GB, free: 11.59 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/1.391, allocations: 67.94 kB / 1.571 GB, free: 11.52 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/1.392, allocations: 0.6606 MB / 1.572 GB, free: 10.8 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/1.392, allocations: 11.88 kB / 1.572 GB, free: 10.79 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/1.392, allocations: 28 kB / 1.572 GB, free: 10.76 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/1.393, allocations: 16 kB / 1.572 GB, free: 10.74 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008233/1.393, allocations: 424.8 kB / 1.573 GB, free: 10.33 MB / 1.264 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.005859/1.399, allocations: 5.359 MB / 1.578 GB, free: 4.426 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/1.4, allocations: 201.1 kB / 1.578 GB, free: 4.184 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/1.4, allocations: 120.2 kB / 1.578 GB, free: 4.051 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/1.4, allocations: 202.2 kB / 1.578 GB, free: 3.816 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/1.4, allocations: 34.56 kB / 1.578 GB, free: 3.773 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005927/1.401, allocations: 63.7 kB / 1.578 GB, free: 3.711 MB / 1.264 GB Notification: Performance of pre-optimization done (n=13): time 3.958e-06/1.401, allocations: 0 / 1.578 GB, free: 3.711 MB / 1.264 GB Notification: Performance of matching and sorting (n=13): time 0.001085/1.402, allocations: 352.5 kB / 1.579 GB, free: 3.359 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/1.402, allocations: 158.7 kB / 1.579 GB, free: 3.168 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/1.404, allocations: 1.179 MB / 1.58 GB, free: 1.98 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/1.404, allocations: 33.7 kB / 1.58 GB, free: 1.941 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005454/1.405, allocations: 0.5787 MB / 1.581 GB, free: 1.359 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/1.405, allocations: 59.52 kB / 1.581 GB, free: 1.301 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.405, allocations: 85.66 kB / 1.581 GB, free: 1.211 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.405, allocations: 318 kB / 1.581 GB, free: 0.8945 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/1.405, allocations: 104.6 kB / 1.581 GB, free: 0.7891 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/1.406, allocations: 383.4 kB / 1.581 GB, free: 284 kB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/1.407, allocations: 453.5 kB / 1.582 GB, free: 15.73 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.407, allocations: 4 kB / 1.582 GB, free: 15.72 MB / 1.279 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001103/1.408, allocations: 0.4894 MB / 1.582 GB, free: 15.23 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.408, allocations: 10.19 kB / 1.582 GB, free: 15.22 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.408, allocations: 8 kB / 1.582 GB, free: 15.21 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/1.408, allocations: 12 kB / 1.582 GB, free: 15.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/1.408, allocations: 95.83 kB / 1.583 GB, free: 15.11 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/1.408, allocations: 11.94 kB / 1.583 GB, free: 15.09 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/1.409, allocations: 43.89 kB / 1.583 GB, free: 15.05 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/1.409, allocations: 28 kB / 1.583 GB, free: 15.02 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005215/1.41, allocations: 308 kB / 1.583 GB, free: 14.72 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004563/1.41, allocations: 391.4 kB / 1.583 GB, free: 14.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000606/1.411, allocations: 437.5 kB / 1.584 GB, free: 13.66 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/1.411, allocations: 0 / 1.584 GB, free: 13.66 MB / 1.279 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001099/1.412, allocations: 496.6 kB / 1.584 GB, free: 13.17 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.412, allocations: 12 kB / 1.584 GB, free: 13.16 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.412, allocations: 4 kB / 1.584 GB, free: 13.15 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.412, allocations: 12 kB / 1.584 GB, free: 13.14 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/1.412, allocations: 84.42 kB / 1.584 GB, free: 13.06 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/1.412, allocations: 23.86 kB / 1.584 GB, free: 13.04 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/1.413, allocations: 51.91 kB / 1.584 GB, free: 12.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/1.413, allocations: 23.94 kB / 1.584 GB, free: 12.96 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001708/1.413, allocations: 212.1 kB / 1.585 GB, free: 12.75 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/1.414, allocations: 123.6 kB / 1.585 GB, free: 12.62 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006217/1.414, allocations: 257.4 kB / 1.585 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/1.414, allocations: 4 kB / 1.585 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.414, allocations: 0 / 1.585 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/1.414, allocations: 15.86 kB / 1.585 GB, free: 12.34 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/1.416, allocations: 1.211 MB / 1.586 GB, free: 11.06 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.416, allocations: 0 / 1.586 GB, free: 11.06 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/1.416, allocations: 27.92 kB / 1.586 GB, free: 11.04 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.416, allocations: 4 kB / 1.586 GB, free: 11.03 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.416, allocations: 0 / 1.586 GB, free: 11.03 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.416, allocations: 4 kB / 1.586 GB, free: 11.03 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.416, allocations: 3.938 kB / 1.586 GB, free: 11.02 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/1.417, allocations: 322.8 kB / 1.586 GB, free: 10.68 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/1.417, allocations: 236.2 kB / 1.587 GB, free: 10.43 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/1.417, allocations: 3.984 kB / 1.587 GB, free: 10.43 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/1.418, allocations: 31.97 kB / 1.587 GB, free: 10.39 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/1.418, allocations: 11.92 kB / 1.587 GB, free: 10.38 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/1.418, allocations: 4 kB / 1.587 GB, free: 10.38 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001477/1.419, allocations: 0.8452 MB / 1.588 GB, free: 9.531 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.6e-07/1.419, allocations: 0 / 1.588 GB, free: 9.531 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001998/1.421, allocations: 0.706 MB / 1.588 GB, free: 8.824 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002016/1.423, allocations: 0.5025 MB / 1.589 GB, free: 8.32 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00099/1.424, allocations: 402.6 kB / 1.589 GB, free: 7.93 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.424, allocations: 4.75 kB / 1.589 GB, free: 7.926 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/1.425, allocations: 68.56 kB / 1.589 GB, free: 7.859 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.427, allocations: 0.5009 MB / 1.59 GB, free: 7.375 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/1.43, allocations: 1.532 MB / 1.591 GB, free: 5.793 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/1.431, allocations: 1.044 MB / 1.592 GB, free: 4.719 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/1.431, allocations: 79.42 kB / 1.592 GB, free: 4.641 MB / 1.279 GB Notification: Performance of SimCode: time 2.625e-06/1.431, allocations: 0 / 1.592 GB, free: 4.641 MB / 1.279 GB Notification: Performance of Templates: time 0.03508/1.466, allocations: 21.64 MB / 1.613 GB, free: 15.12 MB / 1.311 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.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.455175237031654]