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.007087/0.007087, allocations: 101 kB / 15.73 MB, free: 6.02 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.001435/0.001435, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.684/2.684, allocations: 469.8 MB / 0.7425 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.89 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8711/0.873, allocations: 159.1 MB / 1.221 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.269/1.142, allocations: 266.1 MB / 1.48 GB, free: 7.25 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03094/1.173, allocations: 24.37 MB / 1.504 GB, free: 14.82 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/1.176, allocations: 95.44 kB / 1.504 GB, free: 14.73 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002234/1.178, allocations: 0.866 MB / 1.505 GB, free: 13.86 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009232/1.187, allocations: 3.66 MB / 1.509 GB, free: 10.2 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003261/1.19, allocations: 1.258 MB / 1.51 GB, free: 8.949 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004845/1.195, allocations: 3.246 MB / 1.513 GB, free: 5.695 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/1.197, allocations: 0.9465 MB / 1.514 GB, free: 4.715 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008004/1.205, allocations: 3.459 MB / 1.517 GB, free: 1.242 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/1.207, allocations: 0.9217 MB / 1.518 GB, free: 324 kB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/1.207, allocations: 88 kB / 1.518 GB, free: 236 kB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007758/1.215, allocations: 3.764 MB / 1.522 GB, free: 12.46 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004336/1.215, allocations: 278.8 kB / 1.522 GB, free: 12.19 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008862/1.216, allocations: 0.649 MB / 1.523 GB, free: 11.54 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006646/1.223, allocations: 3.326 MB / 1.526 GB, free: 8.199 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.223, allocations: 0 / 1.526 GB, free: 8.199 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.054e-06/1.223, allocations: 0 / 1.526 GB, free: 8.199 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.908e-05/1.223, allocations: 0 / 1.526 GB, free: 8.199 MB / 1.248 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.003603/1.226, allocations: 1.792 MB / 1.528 GB, free: 6.348 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.226, allocations: 8.031 kB / 1.528 GB, free: 6.34 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/1.228, allocations: 294.9 kB / 1.528 GB, free: 6.051 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/1.231, allocations: 1.187 MB / 1.529 GB, free: 4.809 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/1.231, allocations: 49.31 kB / 1.529 GB, free: 4.762 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/1.231, allocations: 59.94 kB / 1.53 GB, free: 4.703 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/1.232, allocations: 0.68 MB / 1.53 GB, free: 3.961 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.232, allocations: 3.938 kB / 1.53 GB, free: 3.957 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/1.232, allocations: 24 kB / 1.53 GB, free: 3.934 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/1.232, allocations: 12 kB / 1.53 GB, free: 3.922 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007493/1.232, allocations: 432.8 kB / 1.531 GB, free: 3.5 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.004797/1.237, allocations: 5.36 MB / 1.536 GB, free: 13.59 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/1.238, allocations: 201 kB / 1.536 GB, free: 13.35 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/1.238, allocations: 112.2 kB / 1.536 GB, free: 13.23 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/1.238, allocations: 206.2 kB / 1.536 GB, free: 12.99 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/1.238, allocations: 38.5 kB / 1.536 GB, free: 12.94 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004377/1.239, allocations: 63.64 kB / 1.536 GB, free: 12.88 MB / 1.264 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/1.239, allocations: 0 / 1.536 GB, free: 12.88 MB / 1.264 GB Notification: Performance of matching and sorting (n=13): time 0.0008853/1.239, allocations: 348.7 kB / 1.537 GB, free: 12.53 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/1.24, allocations: 158.2 kB / 1.537 GB, free: 12.34 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/1.241, allocations: 1.184 MB / 1.538 GB, free: 11.15 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.241, allocations: 29.7 kB / 1.538 GB, free: 11.11 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/1.242, allocations: 0.5825 MB / 1.539 GB, free: 10.53 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/1.242, allocations: 47.64 kB / 1.539 GB, free: 10.48 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.242, allocations: 93.59 kB / 1.539 GB, free: 10.38 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.242, allocations: 318 kB / 1.539 GB, free: 10.07 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/1.242, allocations: 96.58 kB / 1.539 GB, free: 9.969 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/1.242, allocations: 387.6 kB / 1.54 GB, free: 9.453 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/1.243, allocations: 445.5 kB / 1.54 GB, free: 8.91 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.243, allocations: 4 kB / 1.54 GB, free: 8.906 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008714/1.244, allocations: 0.4927 MB / 1.541 GB, free: 8.406 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.244, allocations: 8 kB / 1.541 GB, free: 8.398 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.244, allocations: 8 kB / 1.541 GB, free: 8.391 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.244, allocations: 8 kB / 1.541 GB, free: 8.383 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/1.244, allocations: 92.42 kB / 1.541 GB, free: 8.293 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.244, allocations: 19.92 kB / 1.541 GB, free: 8.273 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/1.245, allocations: 47.83 kB / 1.541 GB, free: 8.227 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/1.245, allocations: 28 kB / 1.541 GB, free: 8.199 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004108/1.245, allocations: 308 kB / 1.541 GB, free: 7.895 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003622/1.246, allocations: 383.9 kB / 1.541 GB, free: 7.379 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005242/1.246, allocations: 441.5 kB / 1.542 GB, free: 6.84 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/1.246, allocations: 0 / 1.542 GB, free: 6.84 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008346/1.247, allocations: 492.9 kB / 1.542 GB, free: 6.352 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.247, allocations: 14.66 kB / 1.542 GB, free: 6.34 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/1.247, allocations: 4 kB / 1.542 GB, free: 6.336 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/1.247, allocations: 12 kB / 1.542 GB, free: 6.324 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/1.247, allocations: 87.83 kB / 1.542 GB, free: 6.238 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.247, allocations: 15.98 kB / 1.542 GB, free: 6.223 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/1.248, allocations: 48.61 kB / 1.542 GB, free: 6.176 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/1.248, allocations: 27.94 kB / 1.542 GB, free: 6.148 MB / 1.264 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.0001333/1.248, allocations: 212.1 kB / 1.543 GB, free: 5.934 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/1.249, allocations: 119.2 kB / 1.543 GB, free: 5.816 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/1.249, allocations: 269.3 kB / 1.543 GB, free: 5.539 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.249, allocations: 8 kB / 1.543 GB, free: 5.531 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.249, allocations: 0 / 1.543 GB, free: 5.531 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.249, allocations: 7.938 kB / 1.543 GB, free: 5.523 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/1.25, allocations: 1.211 MB / 1.544 GB, free: 4.246 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/1.25, allocations: 0 / 1.544 GB, free: 4.246 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/1.251, allocations: 32.05 kB / 1.544 GB, free: 4.215 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.251, allocations: 4 kB / 1.544 GB, free: 4.211 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/1.251, allocations: 4 kB / 1.544 GB, free: 4.207 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.251, allocations: 7.938 kB / 1.544 GB, free: 4.199 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.251, allocations: 0 / 1.544 GB, free: 4.199 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/1.251, allocations: 322.6 kB / 1.545 GB, free: 3.855 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/1.251, allocations: 240.2 kB / 1.545 GB, free: 3.602 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.251, allocations: 0 / 1.545 GB, free: 3.602 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/1.252, allocations: 31.95 kB / 1.545 GB, free: 3.57 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/1.252, allocations: 11.94 kB / 1.545 GB, free: 3.559 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/1.252, allocations: 8 kB / 1.545 GB, free: 3.551 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001213/1.253, allocations: 0.8452 MB / 1.546 GB, free: 2.703 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.253, allocations: 0 / 1.546 GB, free: 2.703 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001732/1.255, allocations: 0.7099 MB / 1.546 GB, free: 1.992 MB / 1.264 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.001517/1.257, allocations: 0.4901 MB / 1.547 GB, free: 1.5 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0007947/1.257, allocations: 397.8 kB / 1.547 GB, free: 1.113 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.257, allocations: 0 / 1.547 GB, free: 1.113 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/1.257, allocations: 65.86 kB / 1.547 GB, free: 1.051 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.259, allocations: 0.507 MB / 1.548 GB, free: 0.5625 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/1.261, allocations: 1.501 MB / 1.549 GB, free: 15.01 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/1.262, allocations: 1.04 MB / 1.55 GB, free: 13.94 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0006258/1.262, allocations: 212.5 kB / 1.551 GB, free: 13.73 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.263, allocations: 83.41 kB / 1.551 GB, free: 13.65 MB / 1.279 GB Notification: Performance of SimCode: time 8.22e-07/1.263, allocations: 0 / 1.551 GB, free: 13.65 MB / 1.279 GB Notification: Performance of Templates: time 0.7443/2.007, allocations: 25.77 MB / 1.576 GB, free: 340.2 MB / 1.279 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=480 -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/jenkins/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