Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.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_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.00154/0.00154, allocations: 111.1 kB / 16.42 MB, free: 6.516 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.001544/0.001544, allocations: 183.9 kB / 17.35 MB, free: 5.73 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.476/1.476, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21/1.212, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.3375/1.55, allocations: 265.6 MB / 1.427 GB, free: 9.297 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04462/1.594, allocations: 24.36 MB / 1.45 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00516/1.599, allocations: 91.44 kB / 1.451 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004004/1.604, allocations: 0.8699 MB / 1.451 GB, free: 15.92 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01563/1.619, allocations: 3.66 MB / 1.455 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005/1.624, allocations: 1.253 MB / 1.456 GB, free: 11.02 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007501/1.632, allocations: 3.245 MB / 1.459 GB, free: 7.758 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003125/1.635, allocations: 1.161 MB / 1.461 GB, free: 6.562 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01176/1.647, allocations: 3.464 MB / 1.464 GB, free: 3.086 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/1.65, allocations: 0.9256 MB / 1.465 GB, free: 2.156 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005688/1.65, allocations: 88 kB / 1.465 GB, free: 2.07 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/1.661, allocations: 3.768 MB / 1.469 GB, free: 14.3 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008297/1.662, allocations: 255 kB / 1.469 GB, free: 14.05 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002229/1.665, allocations: 0.649 MB / 1.469 GB, free: 13.39 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01048/1.675, allocations: 3.359 MB / 1.473 GB, free: 10.03 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/1.675, allocations: 0 / 1.473 GB, free: 10.03 MB / 1.201 GB Notification: Performance of FrontEnd: time 4.087e-06/1.675, allocations: 0 / 1.473 GB, free: 10.03 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.881e-05/1.675, allocations: 3.938 kB / 1.473 GB, free: 10.02 MB / 1.201 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.005346/1.681, allocations: 1.724 MB / 1.474 GB, free: 8.242 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/1.681, allocations: 12.92 kB / 1.474 GB, free: 8.23 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/1.683, allocations: 294.1 kB / 1.475 GB, free: 7.941 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/1.686, allocations: 1.186 MB / 1.476 GB, free: 6.699 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/1.686, allocations: 41.31 kB / 1.476 GB, free: 6.66 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/1.686, allocations: 64 kB / 1.476 GB, free: 6.598 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/1.688, allocations: 0.6761 MB / 1.477 GB, free: 5.859 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/1.688, allocations: 7.938 kB / 1.477 GB, free: 5.852 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/1.688, allocations: 20 kB / 1.477 GB, free: 5.832 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/1.688, allocations: 16 kB / 1.477 GB, free: 5.816 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/1.689, allocations: 432.8 kB / 1.477 GB, free: 5.395 MB / 1.201 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.006539/1.696, allocations: 5.343 MB / 1.482 GB, free: 15.51 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/1.696, allocations: 209 kB / 1.482 GB, free: 15.26 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/1.696, allocations: 116.2 kB / 1.483 GB, free: 15.13 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/1.697, allocations: 202.2 kB / 1.483 GB, free: 14.9 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/1.697, allocations: 34.5 kB / 1.483 GB, free: 14.86 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006631/1.697, allocations: 67.56 kB / 1.483 GB, free: 14.79 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 4.899e-06/1.697, allocations: 0 / 1.483 GB, free: 14.79 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.001248/1.699, allocations: 336.1 kB / 1.483 GB, free: 14.45 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.699, allocations: 162.7 kB / 1.483 GB, free: 14.26 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/1.701, allocations: 1.171 MB / 1.485 GB, free: 13.08 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/1.701, allocations: 33.7 kB / 1.485 GB, free: 13.04 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006947/1.702, allocations: 0.5738 MB / 1.485 GB, free: 12.46 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/1.702, allocations: 51.34 kB / 1.485 GB, free: 12.41 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/1.702, allocations: 97.28 kB / 1.485 GB, free: 12.31 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.702, allocations: 325.9 kB / 1.486 GB, free: 11.98 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/1.703, allocations: 92.8 kB / 1.486 GB, free: 11.89 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/1.703, allocations: 383.4 kB / 1.486 GB, free: 11.38 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.704, allocations: 457.5 kB / 1.486 GB, free: 10.82 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/1.704, allocations: 0 / 1.486 GB, free: 10.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00185/1.706, allocations: 496.5 kB / 1.487 GB, free: 10.33 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/1.706, allocations: 8 kB / 1.487 GB, free: 10.32 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.706, allocations: 12.09 kB / 1.487 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.123e-05/1.706, allocations: 12 kB / 1.487 GB, free: 10.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/1.707, allocations: 87.77 kB / 1.487 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/1.707, allocations: 11.94 kB / 1.487 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.708, allocations: 51.89 kB / 1.487 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/1.708, allocations: 27.98 kB / 1.487 GB, free: 10.12 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006635/1.709, allocations: 304.1 kB / 1.487 GB, free: 9.824 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004608/1.71, allocations: 387.4 kB / 1.488 GB, free: 9.305 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000642/1.71, allocations: 433.5 kB / 1.488 GB, free: 8.773 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.134e-06/1.71, allocations: 0 / 1.488 GB, free: 8.773 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001303/1.712, allocations: 495.9 kB / 1.489 GB, free: 8.281 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.712, allocations: 11.98 kB / 1.489 GB, free: 8.27 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.712, allocations: 8 kB / 1.489 GB, free: 8.262 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/1.712, allocations: 8.375 kB / 1.489 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/1.712, allocations: 88.45 kB / 1.489 GB, free: 8.168 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.712, allocations: 16 kB / 1.489 GB, free: 8.152 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.713, allocations: 47.86 kB / 1.489 GB, free: 8.105 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/1.713, allocations: 27.94 kB / 1.489 GB, free: 8.078 MB / 1.217 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.0002002/1.713, allocations: 220 kB / 1.489 GB, free: 7.855 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/1.714, allocations: 106.7 kB / 1.489 GB, free: 7.75 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007385/1.714, allocations: 263.3 kB / 1.489 GB, free: 7.477 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.714, allocations: 4 kB / 1.489 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/1.714, allocations: 0 / 1.489 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/1.715, allocations: 219.7 kB / 1.49 GB, free: 7.238 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/1.715, allocations: 0 / 1.49 GB, free: 7.238 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/1.716, allocations: 27.97 kB / 1.49 GB, free: 7.211 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/1.716, allocations: 11.98 kB / 1.49 GB, free: 7.199 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006928/1.717, allocations: 0.5449 MB / 1.49 GB, free: 6.645 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001005/1.718, allocations: 0.7312 MB / 1.491 GB, free: 5.895 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001799/1.718, allocations: 67.94 kB / 1.491 GB, free: 5.828 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001859/1.72, allocations: 0.8128 MB / 1.492 GB, free: 5.012 MB / 1.217 GB Notification: Performance of Backend: time 8.11e-07/1.72, allocations: 0 / 1.492 GB, free: 5.012 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005869/1.726, allocations: 1.119 MB / 1.493 GB, free: 3.906 MB / 1.217 GB Notification: Performance of SimCode: time 0.005377/1.731, allocations: 2.35 MB / 1.495 GB, free: 1.516 MB / 1.217 GB Notification: Performance of Templates: time 0.05984/1.791, allocations: 30.96 MB / 1.525 GB, free: 2.766 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches