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.002123/0.002124, allocations: 106.9 kB / 16.4 MB, free: 6.508 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.002308/0.002309, allocations: 185.2 kB / 17.34 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.502/1.502, allocations: 222.9 MB / 241 MB, free: 15.08 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.61/2.61, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9215/0.9234, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.3763/1.3, allocations: 265.6 MB / 1.427 GB, free: 9.215 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04185/1.342, allocations: 24.35 MB / 1.45 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003711/1.345, allocations: 91.44 kB / 1.451 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00324/1.349, allocations: 0.8815 MB / 1.451 GB, free: 15.83 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/1.36, allocations: 3.662 MB / 1.455 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/1.364, allocations: 1.246 MB / 1.456 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006292/1.371, allocations: 3.256 MB / 1.459 GB, free: 7.664 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/1.373, allocations: 1.161 MB / 1.461 GB, free: 6.469 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/1.384, allocations: 3.456 MB / 1.464 GB, free: 3 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/1.386, allocations: 0.9333 MB / 1.465 GB, free: 2.062 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004463/1.387, allocations: 88 kB / 1.465 GB, free: 1.977 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/1.397, allocations: 3.768 MB / 1.469 GB, free: 14.2 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000732/1.397, allocations: 254.9 kB / 1.469 GB, free: 13.95 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001702/1.399, allocations: 0.6451 MB / 1.469 GB, free: 13.3 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.009447/1.409, allocations: 3.365 MB / 1.473 GB, free: 9.93 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/1.409, allocations: 4 kB / 1.473 GB, free: 9.926 MB / 1.201 GB Notification: Performance of FrontEnd: time 4.459e-06/1.409, allocations: 11.92 kB / 1.473 GB, free: 9.914 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.841e-05/1.409, allocations: 0 / 1.473 GB, free: 9.914 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.004607/1.413, allocations: 1.784 MB / 1.475 GB, free: 8.07 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.413, allocations: 8.922 kB / 1.475 GB, free: 8.062 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/1.416, allocations: 290.9 kB / 1.475 GB, free: 7.777 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/1.419, allocations: 1.191 MB / 1.476 GB, free: 6.531 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.985e-05/1.419, allocations: 49.25 kB / 1.476 GB, free: 6.484 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/1.419, allocations: 64 kB / 1.476 GB, free: 6.422 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/1.42, allocations: 0.6761 MB / 1.477 GB, free: 5.684 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.421, allocations: 3.938 kB / 1.477 GB, free: 5.68 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/1.421, allocations: 28 kB / 1.477 GB, free: 5.652 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/1.421, allocations: 16 kB / 1.477 GB, free: 5.637 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/1.422, allocations: 424.8 kB / 1.477 GB, free: 5.223 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.006894/1.429, allocations: 5.359 MB / 1.482 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/1.429, allocations: 201 kB / 1.483 GB, free: 15.08 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/1.429, allocations: 116.3 kB / 1.483 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003614/1.43, allocations: 210.1 kB / 1.483 GB, free: 14.71 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.43, allocations: 38.5 kB / 1.483 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006189/1.43, allocations: 59.7 kB / 1.483 GB, free: 14.61 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 3.828e-06/1.43, allocations: 0 / 1.483 GB, free: 14.61 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.001156/1.431, allocations: 353 kB / 1.483 GB, free: 14.25 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.432, allocations: 158.2 kB / 1.483 GB, free: 14.06 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/1.434, allocations: 1.175 MB / 1.485 GB, free: 12.88 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/1.434, allocations: 33.7 kB / 1.485 GB, free: 12.84 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006297/1.435, allocations: 0.5827 MB / 1.485 GB, free: 12.25 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/1.435, allocations: 51.62 kB / 1.485 GB, free: 12.2 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/1.435, allocations: 93.38 kB / 1.485 GB, free: 12.11 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.435, allocations: 322 kB / 1.486 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/1.435, allocations: 88.8 kB / 1.486 GB, free: 11.7 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/1.436, allocations: 387.4 kB / 1.486 GB, free: 11.18 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/1.437, allocations: 453.5 kB / 1.487 GB, free: 10.63 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/1.437, allocations: 4 kB / 1.487 GB, free: 10.62 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001311/1.438, allocations: 0.4891 MB / 1.487 GB, free: 10.13 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.438, allocations: 8 kB / 1.487 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.438, allocations: 8 kB / 1.487 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/1.438, allocations: 15.94 kB / 1.487 GB, free: 10.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/1.438, allocations: 87.83 kB / 1.487 GB, free: 10.01 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/1.438, allocations: 12.36 kB / 1.487 GB, free: 10 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/1.439, allocations: 60.12 kB / 1.487 GB, free: 9.941 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/1.439, allocations: 27.94 kB / 1.487 GB, free: 9.914 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005823/1.44, allocations: 306.2 kB / 1.488 GB, free: 9.613 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004692/1.44, allocations: 387.4 kB / 1.488 GB, free: 9.094 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006281/1.441, allocations: 441.6 kB / 1.488 GB, free: 8.555 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/1.441, allocations: 0 / 1.488 GB, free: 8.555 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001131/1.442, allocations: 493 kB / 1.489 GB, free: 8.066 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.442, allocations: 8.156 kB / 1.489 GB, free: 8.059 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.442, allocations: 12 kB / 1.489 GB, free: 8.047 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/1.442, allocations: 8 kB / 1.489 GB, free: 8.039 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/1.443, allocations: 83.83 kB / 1.489 GB, free: 7.957 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/1.443, allocations: 19.92 kB / 1.489 GB, free: 7.938 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008399/1.443, allocations: 47.95 kB / 1.489 GB, free: 7.891 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/1.444, allocations: 27.94 kB / 1.489 GB, free: 7.863 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.0002026/1.444, allocations: 220 kB / 1.489 GB, free: 7.641 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/1.444, allocations: 115.2 kB / 1.489 GB, free: 7.527 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/1.445, allocations: 247.8 kB / 1.49 GB, free: 7.27 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/1.445, allocations: 4 kB / 1.49 GB, free: 7.266 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.445, allocations: 0 / 1.49 GB, free: 7.266 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.445, allocations: 7.938 kB / 1.49 GB, free: 7.258 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/1.447, allocations: 1.211 MB / 1.491 GB, free: 5.98 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.447, allocations: 4 kB / 1.491 GB, free: 5.977 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/1.447, allocations: 35.86 kB / 1.491 GB, free: 5.941 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.447, allocations: 0 / 1.491 GB, free: 5.941 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/1.447, allocations: 4 kB / 1.491 GB, free: 5.938 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.447, allocations: 4.125 kB / 1.491 GB, free: 5.934 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.447, allocations: 0 / 1.491 GB, free: 5.934 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007729/1.448, allocations: 334.5 kB / 1.491 GB, free: 5.578 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/1.448, allocations: 236.2 kB / 1.491 GB, free: 5.328 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/1.449, allocations: 4 kB / 1.491 GB, free: 5.324 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005685/1.449, allocations: 27.95 kB / 1.491 GB, free: 5.297 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/1.449, allocations: 11.98 kB / 1.491 GB, free: 5.285 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/1.449, allocations: 4 kB / 1.491 GB, free: 5.281 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001629/1.451, allocations: 0.8491 MB / 1.492 GB, free: 4.43 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.7e-07/1.451, allocations: 0 / 1.492 GB, free: 4.43 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002199/1.453, allocations: 0.706 MB / 1.493 GB, free: 3.723 MB / 1.217 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.002104/1.455, allocations: 0.5174 MB / 1.493 GB, free: 3.207 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001068/1.456, allocations: 411.2 kB / 1.494 GB, free: 2.809 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.456, allocations: 0 / 1.494 GB, free: 2.809 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/1.457, allocations: 72.39 kB / 1.494 GB, free: 2.738 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/1.459, allocations: 498 kB / 1.494 GB, free: 2.266 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/1.462, allocations: 1.509 MB / 1.496 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/1.463, allocations: 1.044 MB / 1.497 GB, free: 15.64 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008061/1.463, allocations: 211 kB / 1.497 GB, free: 15.43 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/1.464, allocations: 83.41 kB / 1.497 GB, free: 15.35 MB / 1.232 GB Notification: Performance of SimCode: time 7.51e-07/1.464, allocations: 4 kB / 1.497 GB, free: 15.35 MB / 1.232 GB Notification: Performance of Templates: time 0.05305/1.517, allocations: 25.89 MB / 1.522 GB, free: 5.664 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 -s cvode -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