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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 104.4 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.623/2.623, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.27 kB / 0.9245 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.7449, allocations: 162.2 MB / 1.083 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.3016/1.046, allocations: 265.6 MB / 1.342 GB, free: 4.418 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03593/1.082, allocations: 24.34 MB / 1.366 GB, free: 12.02 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/1.086, allocations: 91.44 kB / 1.366 GB, free: 11.93 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/1.088, allocations: 0.8504 MB / 1.367 GB, free: 11.08 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008849/1.097, allocations: 3.521 MB / 1.37 GB, free: 7.555 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003022/1.1, allocations: 1.237 MB / 1.372 GB, free: 6.328 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004456/1.105, allocations: 3.213 MB / 1.375 GB, free: 3.109 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/1.106, allocations: 1.153 MB / 1.376 GB, free: 1.922 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008898/1.115, allocations: 3.824 MB / 1.38 GB, free: 14.08 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/1.117, allocations: 0.9061 MB / 1.381 GB, free: 13.17 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/1.117, allocations: 88 kB / 1.381 GB, free: 13.09 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00783/1.125, allocations: 3.679 MB / 1.384 GB, free: 9.402 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004612/1.126, allocations: 266.9 kB / 1.384 GB, free: 9.141 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/1.127, allocations: 0.6373 MB / 1.385 GB, free: 8.5 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005635/1.132, allocations: 3.304 MB / 1.388 GB, free: 5.188 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/1.132, allocations: 7.984 kB / 1.388 GB, free: 5.18 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.023e-06/1.132, allocations: 0 / 1.388 GB, free: 5.18 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.037e-05/1.132, allocations: 7.938 kB / 1.388 GB, free: 5.172 MB / 1.107 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.003477/1.136, allocations: 1.728 MB / 1.39 GB, free: 3.387 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.136, allocations: 8.031 kB / 1.39 GB, free: 3.379 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/1.138, allocations: 294.1 kB / 1.39 GB, free: 3.09 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/1.14, allocations: 1.12 MB / 1.391 GB, free: 1.914 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/1.14, allocations: 49.31 kB / 1.391 GB, free: 1.867 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/1.14, allocations: 64 kB / 1.392 GB, free: 1.805 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/1.141, allocations: 0.6683 MB / 1.392 GB, free: 1.074 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.141, allocations: 7.938 kB / 1.392 GB, free: 1.066 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/1.141, allocations: 24 kB / 1.392 GB, free: 1.043 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/1.141, allocations: 19.98 kB / 1.392 GB, free: 1.023 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/1.142, allocations: 424.8 kB / 1.393 GB, free: 0.6094 MB / 1.107 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.005907/1.148, allocations: 5.378 MB / 1.398 GB, free: 10.69 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/1.149, allocations: 209 kB / 1.398 GB, free: 10.44 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/1.149, allocations: 108.2 kB / 1.398 GB, free: 10.32 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/1.149, allocations: 206.2 kB / 1.398 GB, free: 10.08 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/1.149, allocations: 42.48 kB / 1.398 GB, free: 10.03 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005216/1.15, allocations: 63.56 kB / 1.398 GB, free: 9.965 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 3.095e-06/1.15, allocations: 0 / 1.398 GB, free: 9.965 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0009654/1.151, allocations: 340 kB / 1.399 GB, free: 9.625 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/1.151, allocations: 158.7 kB / 1.399 GB, free: 9.434 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/1.153, allocations: 1.175 MB / 1.4 GB, free: 8.25 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/1.153, allocations: 33.7 kB / 1.4 GB, free: 8.211 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/1.153, allocations: 0.5777 MB / 1.401 GB, free: 7.629 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/1.153, allocations: 47.36 kB / 1.401 GB, free: 7.582 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/1.153, allocations: 93.5 kB / 1.401 GB, free: 7.484 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.153, allocations: 318 kB / 1.401 GB, free: 7.168 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/1.154, allocations: 96.8 kB / 1.401 GB, free: 7.07 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/1.154, allocations: 383.4 kB / 1.402 GB, free: 6.559 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/1.155, allocations: 449.5 kB / 1.402 GB, free: 6.012 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.155, allocations: 4 kB / 1.402 GB, free: 6.008 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001002/1.156, allocations: 0.493 MB / 1.402 GB, free: 5.508 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/1.156, allocations: 8 kB / 1.402 GB, free: 5.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.156, allocations: 8 kB / 1.403 GB, free: 5.492 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.156, allocations: 16.03 kB / 1.403 GB, free: 5.477 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/1.156, allocations: 91.77 kB / 1.403 GB, free: 5.387 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/1.156, allocations: 8 kB / 1.403 GB, free: 5.379 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/1.157, allocations: 51.83 kB / 1.403 GB, free: 5.328 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/1.157, allocations: 27.98 kB / 1.403 GB, free: 5.301 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004985/1.158, allocations: 304.1 kB / 1.403 GB, free: 5 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004668/1.158, allocations: 384.3 kB / 1.403 GB, free: 4.484 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005995/1.159, allocations: 433.5 kB / 1.404 GB, free: 3.953 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/1.159, allocations: 0 / 1.404 GB, free: 3.953 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0009507/1.16, allocations: 492 kB / 1.404 GB, free: 3.465 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/1.16, allocations: 11.98 kB / 1.404 GB, free: 3.453 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.16, allocations: 11.94 kB / 1.404 GB, free: 3.441 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/1.16, allocations: 8 kB / 1.404 GB, free: 3.434 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/1.16, allocations: 88.39 kB / 1.404 GB, free: 3.348 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.16, allocations: 15.94 kB / 1.404 GB, free: 3.332 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007122/1.161, allocations: 55.86 kB / 1.404 GB, free: 3.277 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/1.161, allocations: 23.94 kB / 1.404 GB, free: 3.254 MB / 1.123 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.0001892/1.161, allocations: 220 kB / 1.405 GB, free: 3.031 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/1.161, allocations: 106.7 kB / 1.405 GB, free: 2.926 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/1.162, allocations: 253.7 kB / 1.405 GB, free: 2.664 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.162, allocations: 4 kB / 1.405 GB, free: 2.66 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.162, allocations: 0 / 1.405 GB, free: 2.66 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/1.162, allocations: 7.938 kB / 1.405 GB, free: 2.652 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/1.163, allocations: 1.207 MB / 1.406 GB, free: 1.379 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.164, allocations: 0 / 1.406 GB, free: 1.379 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/1.164, allocations: 31.86 kB / 1.406 GB, free: 1.348 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.164, allocations: 4 kB / 1.406 GB, free: 1.344 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.164, allocations: 4 kB / 1.406 GB, free: 1.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.164, allocations: 4.062 kB / 1.406 GB, free: 1.336 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.164, allocations: 3.984 kB / 1.406 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/1.164, allocations: 322 kB / 1.407 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/1.165, allocations: 235.5 kB / 1.407 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.165, allocations: 0 / 1.407 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/1.165, allocations: 31.97 kB / 1.407 GB, free: 0.707 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/1.165, allocations: 7.984 kB / 1.407 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/1.165, allocations: 8 kB / 1.407 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001383/1.167, allocations: 0.8452 MB / 1.408 GB, free: 15.84 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.61e-07/1.167, allocations: 0 / 1.408 GB, free: 15.84 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001988/1.169, allocations: 0.7101 MB / 1.408 GB, free: 15.13 MB / 1.139 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.001674/1.17, allocations: 0.505 MB / 1.409 GB, free: 14.63 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009298/1.171, allocations: 414.4 kB / 1.409 GB, free: 14.23 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.171, allocations: 0.9375 kB / 1.409 GB, free: 14.23 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/1.172, allocations: 75.83 kB / 1.409 GB, free: 14.15 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.174, allocations: 0.4909 MB / 1.41 GB, free: 13.68 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/1.176, allocations: 1.518 MB / 1.411 GB, free: 12.11 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/1.177, allocations: 1.036 MB / 1.412 GB, free: 11.04 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.177, allocations: 83.41 kB / 1.412 GB, free: 10.96 MB / 1.139 GB Notification: Performance of SimCode: time 7.41e-07/1.177, allocations: 0 / 1.412 GB, free: 10.96 MB / 1.139 GB Notification: Performance of Templates: time 0.03376/1.211, allocations: 21.51 MB / 1.433 GB, free: 5.578 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches