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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001048/0.001048, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001724, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 11.98 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7201/0.7204, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.9082/1.629, allocations: 260.3 MB / 1.278 GB, free: 28.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03274/1.661, allocations: 25.75 MB / 1.303 GB, free: 27.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004944/1.666, allocations: 84.69 kB / 1.303 GB, free: 27.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/1.669, allocations: 0.6799 MB / 1.304 GB, free: 27.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009814/1.679, allocations: 3.1 MB / 1.307 GB, free: 27.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/1.682, allocations: 1.148 MB / 1.308 GB, free: 27.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005152/1.687, allocations: 4.481 MB / 1.312 GB, free: 27.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/1.688, allocations: 0.9341 MB / 1.313 GB, free: 27.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0081/1.697, allocations: 2.979 MB / 1.316 GB, free: 27.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/1.699, allocations: 0.9332 MB / 1.317 GB, free: 27.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/1.699, allocations: 37.3 kB / 1.317 GB, free: 27.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009537/1.708, allocations: 3.617 MB / 1.321 GB, free: 27.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006087/1.709, allocations: 213.3 kB / 1.321 GB, free: 27.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00155/1.711, allocations: 0.6075 MB / 1.321 GB, free: 27.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00543/1.716, allocations: 2.438 MB / 1.324 GB, free: 27.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.716, allocations: 0 / 1.324 GB, free: 27.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.476e-06/1.716, allocations: 3.328 kB / 1.324 GB, free: 27.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.573e-05/1.716, allocations: 0 / 1.324 GB, free: 27.23 MB / 0.9825 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.00353/1.72, allocations: 1.521 MB / 1.325 GB, free: 26.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.72, allocations: 11.81 kB / 1.325 GB, free: 26.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/1.722, allocations: 298.5 kB / 1.326 GB, free: 26.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/1.724, allocations: 1.116 MB / 1.327 GB, free: 25.87 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/1.724, allocations: 47.12 kB / 1.327 GB, free: 25.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/1.724, allocations: 59.47 kB / 1.327 GB, free: 25.87 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/1.725, allocations: 0.6597 MB / 1.327 GB, free: 25.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.725, allocations: 0 / 1.327 GB, free: 25.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/1.725, allocations: 25.66 kB / 1.327 GB, free: 25.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/1.725, allocations: 17.78 kB / 1.327 GB, free: 25.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/1.726, allocations: 455.5 kB / 1.328 GB, free: 25.72 MB / 0.9825 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.004024/1.73, allocations: 4.751 MB / 1.333 GB, free: 22.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/1.73, allocations: 249 kB / 1.333 GB, free: 22.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/1.73, allocations: 136.6 kB / 1.333 GB, free: 22.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/1.731, allocations: 212 kB / 1.333 GB, free: 22.06 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/1.731, allocations: 35.66 kB / 1.333 GB, free: 22.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007811/1.732, allocations: 228.7 kB / 1.333 GB, free: 21.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 2.825e-06/1.732, allocations: 2.906 kB / 1.333 GB, free: 21.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0008547/1.732, allocations: 355.2 kB / 1.334 GB, free: 21.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/1.732, allocations: 166.8 kB / 1.334 GB, free: 21.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/1.734, allocations: 1.163 MB / 1.335 GB, free: 21.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/1.734, allocations: 33.08 kB / 1.335 GB, free: 21.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/1.734, allocations: 0.5565 MB / 1.336 GB, free: 21.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/1.734, allocations: 60.25 kB / 1.336 GB, free: 21.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/1.735, allocations: 32.42 kB / 1.336 GB, free: 21.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/1.735, allocations: 323 kB / 1.336 GB, free: 20.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/1.735, allocations: 88.97 kB / 1.336 GB, free: 20.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/1.735, allocations: 355.4 kB / 1.336 GB, free: 20.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/1.736, allocations: 415.7 kB / 1.337 GB, free: 20.13 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.736, allocations: 3.531 kB / 1.337 GB, free: 20.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008327/1.736, allocations: 469.1 kB / 1.337 GB, free: 19.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/1.737, allocations: 301.2 kB / 1.338 GB, free: 19.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.737, allocations: 9.312 kB / 1.338 GB, free: 19.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/1.737, allocations: 13.39 kB / 1.338 GB, free: 19.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/1.737, allocations: 81.17 kB / 1.338 GB, free: 19.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.737, allocations: 11.53 kB / 1.338 GB, free: 19.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009351/1.738, allocations: 94.8 kB / 1.338 GB, free: 19.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/1.738, allocations: 26.45 kB / 1.338 GB, free: 19.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/1.738, allocations: 2.844 kB / 1.338 GB, free: 19.54 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005054/1.738, allocations: 328.5 kB / 1.338 GB, free: 19.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.738, allocations: 10.41 kB / 1.338 GB, free: 19.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/1.738, allocations: 11.34 kB / 1.338 GB, free: 19.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/1.739, allocations: 80.34 kB / 1.338 GB, free: 19.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.739, allocations: 12.16 kB / 1.338 GB, free: 19.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/1.739, allocations: 77.67 kB / 1.338 GB, free: 19.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/1.739, allocations: 21.94 kB / 1.338 GB, free: 19.37 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (39): * Single equations (assignments): 39 * 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.0004936/1.74, allocations: 352.7 kB / 1.339 GB, free: 19.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/1.74, allocations: 114.7 kB / 1.339 GB, free: 19.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/1.741, allocations: 265.3 kB / 1.339 GB, free: 18.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.741, allocations: 4 kB / 1.339 GB, free: 18.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.741, allocations: 2.906 kB / 1.339 GB, free: 18.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.741, allocations: 3.562 kB / 1.339 GB, free: 18.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/1.742, allocations: 1.476 MB / 1.34 GB, free: 17.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.742, allocations: 2.094 kB / 1.34 GB, free: 17.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/1.742, allocations: 31.42 kB / 1.34 GB, free: 17.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.742, allocations: 9.781 kB / 1.34 GB, free: 17.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.742, allocations: 3.031 kB / 1.34 GB, free: 17.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/1.742, allocations: 5.812 kB / 1.34 GB, free: 17.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.742, allocations: 5.188 kB / 1.34 GB, free: 17.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/1.743, allocations: 430.8 kB / 1.341 GB, free: 17.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/1.743, allocations: 240.8 kB / 1.341 GB, free: 17.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.743, allocations: 5.531 kB / 1.341 GB, free: 17.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/1.744, allocations: 59.69 kB / 1.341 GB, free: 17.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/1.744, allocations: 12.52 kB / 1.341 GB, free: 17.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/1.744, allocations: 10.09 kB / 1.341 GB, free: 17.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001141/1.745, allocations: 0.8405 MB / 1.342 GB, free: 16.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/1.745, allocations: 0 / 1.342 GB, free: 16.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002207/1.748, allocations: 0.7148 MB / 1.343 GB, free: 16.49 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (13): * Single equations (assignments): 13 * 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.001643/1.749, allocations: 0.5142 MB / 1.343 GB, free: 16.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008405/1.75, allocations: 384.9 kB / 1.344 GB, free: 16.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.75, allocations: 4.312 kB / 1.344 GB, free: 16.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/1.75, allocations: 82.36 kB / 1.344 GB, free: 16.13 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/1.753, allocations: 0.4969 MB / 1.344 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/1.755, allocations: 1.883 MB / 1.346 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/1.755, allocations: 1.043 MB / 1.347 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/1.756, allocations: 79.17 kB / 1.347 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/1.756, allocations: 0 / 1.347 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.03122/1.787, allocations: 21.3 MB / 1.368 GB, free: 1.418 MB / 0.9825 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