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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001887/0.001886, allocations: 112 kB / 16.42 MB, free: 6.512 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.001751/0.001751, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 63.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.297/1.423, allocations: 265.5 MB / 1.468 GB, free: 3.172 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0351/1.458, allocations: 24.32 MB / 1.491 GB, free: 10.79 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/1.461, allocations: 91.44 kB / 1.492 GB, free: 10.7 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/1.464, allocations: 0.8503 MB / 1.492 GB, free: 9.848 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.009506/1.473, allocations: 3.541 MB / 1.496 GB, free: 6.305 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004019/1.477, allocations: 1.256 MB / 1.497 GB, free: 5.059 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004946/1.482, allocations: 3.249 MB / 1.5 GB, free: 1.797 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/1.484, allocations: 1.165 MB / 1.501 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008814/1.493, allocations: 3.382 MB / 1.505 GB, free: 13.21 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/1.495, allocations: 0.9217 MB / 1.506 GB, free: 12.28 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003555/1.496, allocations: 88 kB / 1.506 GB, free: 12.2 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/1.506, allocations: 3.772 MB / 1.509 GB, free: 8.418 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000609/1.506, allocations: 254.9 kB / 1.51 GB, free: 8.168 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/1.508, allocations: 0.6451 MB / 1.51 GB, free: 7.52 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.007372/1.515, allocations: 3.316 MB / 1.513 GB, free: 4.195 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.515, allocations: 0 / 1.513 GB, free: 4.195 MB / 1.232 GB Notification: Performance of FrontEnd: time 3.206e-06/1.515, allocations: 4 kB / 1.513 GB, free: 4.191 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.658e-05/1.515, allocations: 3.938 kB / 1.513 GB, free: 4.188 MB / 1.232 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.003353/1.519, allocations: 1.734 MB / 1.515 GB, free: 2.398 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.519, allocations: 8.031 kB / 1.515 GB, free: 2.391 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1.521, allocations: 290.1 kB / 1.515 GB, free: 2.105 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/1.523, allocations: 1.178 MB / 1.517 GB, free: 0.8711 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/1.523, allocations: 49.31 kB / 1.517 GB, free: 0.8242 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/1.523, allocations: 60 kB / 1.517 GB, free: 0.7656 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/1.524, allocations: 0.6761 MB / 1.517 GB, free: 28 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.524, allocations: 3.938 kB / 1.517 GB, free: 24 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/1.524, allocations: 28.05 kB / 1.517 GB, free: 15.99 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/1.524, allocations: 15.98 kB / 1.517 GB, free: 15.98 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008216/1.525, allocations: 432.7 kB / 1.518 GB, free: 15.56 MB / 1.248 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.005112/1.53, allocations: 5.354 MB / 1.523 GB, free: 9.66 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/1.531, allocations: 201 kB / 1.523 GB, free: 9.418 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/1.531, allocations: 116.2 kB / 1.523 GB, free: 9.289 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003229/1.531, allocations: 194.2 kB / 1.524 GB, free: 9.062 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.531, allocations: 50.48 kB / 1.524 GB, free: 9.004 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004498/1.532, allocations: 51.58 kB / 1.524 GB, free: 8.953 MB / 1.248 GB Notification: Performance of pre-optimization done (n=13): time 2.395e-06/1.532, allocations: 0 / 1.524 GB, free: 8.953 MB / 1.248 GB Notification: Performance of matching and sorting (n=13): time 0.0009389/1.533, allocations: 348.7 kB / 1.524 GB, free: 8.605 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/1.533, allocations: 158.2 kB / 1.524 GB, free: 8.414 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/1.534, allocations: 1.167 MB / 1.525 GB, free: 7.238 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/1.534, allocations: 33.78 kB / 1.525 GB, free: 7.199 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/1.535, allocations: 0.5856 MB / 1.526 GB, free: 6.609 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/1.535, allocations: 43.36 kB / 1.526 GB, free: 6.566 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/1.535, allocations: 93.5 kB / 1.526 GB, free: 6.469 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.535, allocations: 325.9 kB / 1.526 GB, free: 6.145 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/1.535, allocations: 96.58 kB / 1.526 GB, free: 6.047 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/1.536, allocations: 383.4 kB / 1.527 GB, free: 5.535 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/1.537, allocations: 449.5 kB / 1.527 GB, free: 4.988 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/1.537, allocations: 4 kB / 1.527 GB, free: 4.984 MB / 1.248 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001018/1.538, allocations: 496.3 kB / 1.528 GB, free: 4.492 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.538, allocations: 11.94 kB / 1.528 GB, free: 4.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.538, allocations: 8 kB / 1.528 GB, free: 4.473 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/1.538, allocations: 12 kB / 1.528 GB, free: 4.461 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/1.538, allocations: 87.83 kB / 1.528 GB, free: 4.375 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/1.538, allocations: 15.94 kB / 1.528 GB, free: 4.359 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/1.539, allocations: 52.17 kB / 1.528 GB, free: 4.309 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/1.539, allocations: 23.98 kB / 1.528 GB, free: 4.285 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004736/1.539, allocations: 312 kB / 1.528 GB, free: 3.977 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004154/1.54, allocations: 379.4 kB / 1.529 GB, free: 3.465 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000565/1.54, allocations: 433.5 kB / 1.529 GB, free: 2.934 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.652e-06/1.54, allocations: 4 kB / 1.529 GB, free: 2.93 MB / 1.248 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0009382/1.541, allocations: 492.4 kB / 1.529 GB, free: 2.441 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.541, allocations: 12.19 kB / 1.529 GB, free: 2.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.541, allocations: 8 kB / 1.529 GB, free: 2.422 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/1.541, allocations: 12 kB / 1.529 GB, free: 2.41 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/1.542, allocations: 87.83 kB / 1.53 GB, free: 2.324 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.542, allocations: 11.94 kB / 1.53 GB, free: 2.312 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/1.542, allocations: 51.86 kB / 1.53 GB, free: 2.262 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/1.542, allocations: 24 kB / 1.53 GB, free: 2.238 MB / 1.248 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.0001746/1.543, allocations: 216.1 kB / 1.53 GB, free: 2.02 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/1.543, allocations: 114.6 kB / 1.53 GB, free: 1.906 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/1.544, allocations: 261.4 kB / 1.53 GB, free: 1.637 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.544, allocations: 0 / 1.53 GB, free: 1.637 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.544, allocations: 4 kB / 1.53 GB, free: 1.633 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/1.544, allocations: 215.7 kB / 1.53 GB, free: 1.402 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/1.544, allocations: 12 kB / 1.53 GB, free: 1.391 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/1.545, allocations: 19.97 kB / 1.53 GB, free: 1.371 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/1.545, allocations: 15.98 kB / 1.53 GB, free: 1.355 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005617/1.545, allocations: 0.5487 MB / 1.531 GB, free: 0.7969 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007443/1.546, allocations: 0.7274 MB / 1.532 GB, free: 52 kB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001744/1.546, allocations: 71.88 kB / 1.532 GB, free: 15.98 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00136/1.548, allocations: 0.8089 MB / 1.533 GB, free: 15.17 MB / 1.264 GB Notification: Performance of Backend: time 5.71e-07/1.548, allocations: 4 kB / 1.533 GB, free: 15.16 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004826/1.553, allocations: 1.1 MB / 1.534 GB, free: 14.07 MB / 1.264 GB Notification: Performance of SimCode: time 0.004516/1.557, allocations: 2.355 MB / 1.536 GB, free: 11.68 MB / 1.264 GB Notification: Performance of Templates: time 0.6955/2.253, allocations: 30.61 MB / 1.566 GB, free: 354.1 MB / 1.279 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=480 -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