Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001595/0.001595, allocations: 111 kB / 15.99 MB, free: 5.891 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.001622/0.001622, allocations: 195.7 kB / 16.91 MB, free: 5.746 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.372/1.372, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 469.8 MB / 0.7427 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 70.06 kB / 0.9087 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2849, allocations: 159.2 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.783/1.068, allocations: 262.8 MB / 1.321 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02482/1.093, allocations: 24.54 MB / 1.345 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/1.095, allocations: 86.62 kB / 1.345 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/1.097, allocations: 0.7314 MB / 1.346 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00759/1.105, allocations: 3.232 MB / 1.349 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/1.107, allocations: 1.143 MB / 1.35 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003194/1.111, allocations: 3.26 MB / 1.353 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/1.112, allocations: 1.156 MB / 1.354 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005965/1.118, allocations: 3.271 MB / 1.357 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/1.119, allocations: 0.983 MB / 1.358 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/1.119, allocations: 90.31 kB / 1.358 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006121/1.125, allocations: 3.709 MB / 1.362 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/1.125, allocations: 277.9 kB / 1.362 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/1.126, allocations: 0.6517 MB / 1.363 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/1.128, allocations: 2.459 MB / 1.365 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.128, allocations: 0 / 1.365 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.128, allocations: 0 / 1.365 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.384e-05/1.128, allocations: 0 / 1.365 GB, free: 3.527 MB / 0.9981 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.002449/1.131, allocations: 1.742 MB / 1.367 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/1.131, allocations: 10.19 kB / 1.367 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/1.133, allocations: 305 kB / 1.367 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/1.134, allocations: 1.119 MB / 1.368 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/1.134, allocations: 45.16 kB / 1.368 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.889e-05/1.134, allocations: 64.81 kB / 1.369 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008728/1.135, allocations: 0.645 MB / 1.369 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/1.135, allocations: 2.531 kB / 1.369 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/1.135, allocations: 25.41 kB / 1.369 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.135, allocations: 15.38 kB / 1.369 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/1.136, allocations: 451 kB / 1.37 GB, free: 1.09 MB / 0.9981 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.004182/1.14, allocations: 4.717 MB / 1.374 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/1.141, allocations: 247.6 kB / 1.374 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/1.141, allocations: 135.6 kB / 1.375 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/1.141, allocations: 202.1 kB / 1.375 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.141, allocations: 47.19 kB / 1.375 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007358/1.142, allocations: 193.7 kB / 1.375 GB, free: 12.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/1.142, allocations: 0 / 1.375 GB, free: 12.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0009246/1.143, allocations: 409.8 kB / 1.375 GB, free: 12.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/1.143, allocations: 156.8 kB / 1.376 GB, free: 12.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/1.144, allocations: 1.159 MB / 1.377 GB, free: 11.42 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/1.145, allocations: 32.67 kB / 1.377 GB, free: 11.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/1.145, allocations: 0.5647 MB / 1.377 GB, free: 10.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/1.145, allocations: 57.59 kB / 1.377 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.145, allocations: 94.95 kB / 1.377 GB, free: 10.78 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.145, allocations: 316.8 kB / 1.378 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/1.146, allocations: 112 kB / 1.378 GB, free: 10.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/1.146, allocations: 368.7 kB / 1.378 GB, free: 10.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/1.147, allocations: 429.1 kB / 1.379 GB, free: 9.652 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.147, allocations: 7 kB / 1.379 GB, free: 9.648 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008413/1.147, allocations: 0.4936 MB / 1.379 GB, free: 9.414 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.147, allocations: 8.438 kB / 1.379 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.147, allocations: 8.656 kB / 1.379 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.147, allocations: 9.281 kB / 1.379 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/1.148, allocations: 80.3 kB / 1.379 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.148, allocations: 15.02 kB / 1.379 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008278/1.149, allocations: 83.55 kB / 1.379 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/1.149, allocations: 22.59 kB / 1.379 GB, free: 9.355 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004483/1.149, allocations: 322.9 kB / 1.38 GB, free: 9.145 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003865/1.15, allocations: 358.1 kB / 1.38 GB, free: 8.758 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005266/1.15, allocations: 425.5 kB / 1.38 GB, free: 8.402 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/1.15, allocations: 3.438 kB / 1.38 GB, free: 8.402 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008138/1.151, allocations: 497.2 kB / 1.381 GB, free: 8.172 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/1.151, allocations: 8.438 kB / 1.381 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.151, allocations: 9.031 kB / 1.381 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/1.151, allocations: 10.91 kB / 1.381 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/1.151, allocations: 80.14 kB / 1.381 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.151, allocations: 19.25 kB / 1.381 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007658/1.152, allocations: 74.97 kB / 1.381 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.152, allocations: 24.92 kB / 1.381 GB, free: 8.109 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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.0001551/1.152, allocations: 218.3 kB / 1.381 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/1.152, allocations: 105 kB / 1.381 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/1.153, allocations: 309 kB / 1.382 GB, free: 7.648 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.153, allocations: 6.375 kB / 1.382 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.153, allocations: 0 / 1.382 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.153, allocations: 2.469 kB / 1.382 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/1.155, allocations: 1.23 MB / 1.383 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.155, allocations: 2.094 kB / 1.383 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/1.155, allocations: 34.62 kB / 1.383 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.155, allocations: 2.469 kB / 1.383 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/1.155, allocations: 5.812 kB / 1.383 GB, free: 6.598 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.155, allocations: 3.406 kB / 1.383 GB, free: 6.598 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.155, allocations: 7.875 kB / 1.383 GB, free: 6.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/1.155, allocations: 341.2 kB / 1.383 GB, free: 6.363 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/1.156, allocations: 221.8 kB / 1.383 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/1.156, allocations: 9.75 kB / 1.383 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/1.156, allocations: 53.53 kB / 1.384 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/1.156, allocations: 19.64 kB / 1.384 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/1.156, allocations: 3.375 kB / 1.384 GB, free: 6.121 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00113/1.158, allocations: 0.8174 MB / 1.384 GB, free: 5.664 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.158, allocations: 0 / 1.384 GB, free: 5.664 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001852/1.159, allocations: 0.7179 MB / 1.385 GB, free: 5.562 MB / 1.014 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 (15): * Single equations (assignments): 15 * 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.001574/1.161, allocations: 0.5146 MB / 1.386 GB, free: 5.352 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008048/1.162, allocations: 435.2 kB / 1.386 GB, free: 5.191 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.162, allocations: 4 kB / 1.386 GB, free: 5.188 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/1.162, allocations: 85.86 kB / 1.386 GB, free: 5.156 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/1.164, allocations: 481.8 kB / 1.386 GB, free: 4.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/1.167, allocations: 1.934 MB / 1.388 GB, free: 3.605 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/1.168, allocations: 1.046 MB / 1.389 GB, free: 2.742 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/1.168, allocations: 80.47 kB / 1.389 GB, free: 2.727 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.168, allocations: 0 / 1.389 GB, free: 2.727 MB / 1.014 GB Notification: Performance of Templates: time 0.032/1.2, allocations: 21.34 MB / 1.41 GB, free: 4.387 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (rm -f Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches