Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001554/0.001555, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001973/0.001973, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.499/1.499, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.882/2.882, allocations: 461.8 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 61.98 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3279, allocations: 157.4 MB / 1.052 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.9259/1.254, allocations: 263.7 MB / 1.31 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03579/1.29, allocations: 25.97 MB / 1.335 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005477/1.295, allocations: 85.12 kB / 1.335 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002869/1.298, allocations: 0.6885 MB / 1.336 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/1.31, allocations: 3.104 MB / 1.339 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003748/1.314, allocations: 1.123 MB / 1.34 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007353/1.321, allocations: 4.485 MB / 1.344 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/1.323, allocations: 0.9719 MB / 1.345 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/1.333, allocations: 3.006 MB / 1.348 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/1.336, allocations: 0.968 MB / 1.349 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/1.336, allocations: 53.28 kB / 1.349 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00969/1.346, allocations: 3.626 MB / 1.353 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003989/1.346, allocations: 231.9 kB / 1.353 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/1.347, allocations: 0.6091 MB / 1.353 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006702/1.354, allocations: 3.3 MB / 1.357 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.354, allocations: 2.031 kB / 1.357 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.21e-07/1.354, allocations: 0 / 1.357 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.519e-05/1.354, allocations: 0 / 1.357 GB, free: 9.305 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.003577/1.357, allocations: 1.747 MB / 1.358 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.357, allocations: 8.5 kB / 1.358 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/1.36, allocations: 298.8 kB / 1.359 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/1.361, allocations: 1.114 MB / 1.36 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/1.362, allocations: 52.62 kB / 1.36 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/1.362, allocations: 61.06 kB / 1.36 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/1.363, allocations: 0.6521 MB / 1.36 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/1.363, allocations: 2.531 kB / 1.36 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/1.363, allocations: 25.84 kB / 1.361 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/1.363, allocations: 13.53 kB / 1.361 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007662/1.364, allocations: 449.2 kB / 1.361 GB, free: 7.473 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.003828/1.367, allocations: 4.727 MB / 1.366 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/1.368, allocations: 248.1 kB / 1.366 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/1.368, allocations: 136.3 kB / 1.366 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/1.368, allocations: 202 kB / 1.366 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/1.368, allocations: 41.48 kB / 1.366 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000661/1.369, allocations: 228 kB / 1.366 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.314e-06/1.369, allocations: 3.125 kB / 1.366 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008489/1.37, allocations: 342.7 kB / 1.367 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/1.37, allocations: 157.7 kB / 1.367 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/1.371, allocations: 1.165 MB / 1.368 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/1.371, allocations: 31.95 kB / 1.368 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/1.372, allocations: 0.5632 MB / 1.369 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/1.372, allocations: 52.08 kB / 1.369 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/1.372, allocations: 80.5 kB / 1.369 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/1.372, allocations: 318.7 kB / 1.369 GB, free: 380 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/1.372, allocations: 93.42 kB / 1.369 GB, free: 328 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/1.372, allocations: 362.5 kB / 1.369 GB, free: 15.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/1.373, allocations: 404 kB / 1.37 GB, free: 15.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/1.373, allocations: 7.406 kB / 1.37 GB, free: 15.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000867/1.374, allocations: 458.5 kB / 1.37 GB, free: 15.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.374, allocations: 12.66 kB / 1.37 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.374, allocations: 10.98 kB / 1.37 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.374, allocations: 14.59 kB / 1.37 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/1.374, allocations: 74.66 kB / 1.37 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/1.374, allocations: 15.42 kB / 1.37 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/1.375, allocations: 91.27 kB / 1.37 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/1.375, allocations: 16.34 kB / 1.371 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004713/1.376, allocations: 301.2 kB / 1.371 GB, free: 15.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004122/1.376, allocations: 350.8 kB / 1.371 GB, free: 14.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005489/1.377, allocations: 394.8 kB / 1.372 GB, free: 14.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/1.377, allocations: 1.781 kB / 1.372 GB, free: 14.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008292/1.377, allocations: 458.6 kB / 1.372 GB, free: 14.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.377, allocations: 6.969 kB / 1.372 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.377, allocations: 6.344 kB / 1.372 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.378, allocations: 14.84 kB / 1.372 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/1.378, allocations: 79.41 kB / 1.372 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.378, allocations: 16.58 kB / 1.372 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007986/1.379, allocations: 75.42 kB / 1.372 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/1.379, allocations: 21.62 kB / 1.372 GB, free: 14.09 MB / 1.014 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.0001528/1.379, allocations: 215.2 kB / 1.372 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/1.379, allocations: 111.7 kB / 1.372 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/1.38, allocations: 253.5 kB / 1.373 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.38, allocations: 2.438 kB / 1.373 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.38, allocations: 2.625 kB / 1.373 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.38, allocations: 0 / 1.373 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/1.381, allocations: 1.468 MB / 1.374 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.381, allocations: 6.656 kB / 1.374 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/1.382, allocations: 29.75 kB / 1.374 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.382, allocations: 5.125 kB / 1.374 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/1.382, allocations: 5.375 kB / 1.374 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.382, allocations: 0 / 1.374 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.382, allocations: 2.906 kB / 1.374 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/1.382, allocations: 421.9 kB / 1.375 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/1.383, allocations: 220.8 kB / 1.375 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/1.383, allocations: 10.39 kB / 1.375 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/1.383, allocations: 60.06 kB / 1.375 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/1.383, allocations: 12.95 kB / 1.375 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/1.383, allocations: 5.094 kB / 1.375 GB, free: 11.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001241/1.385, allocations: 0.8314 MB / 1.376 GB, free: 11.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.385, allocations: 4 kB / 1.376 GB, free: 11.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002564/1.387, allocations: 0.7182 MB / 1.376 GB, free: 11.31 MB / 1.014 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.002198/1.39, allocations: 0.5043 MB / 1.377 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001008/1.391, allocations: 375.1 kB / 1.377 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.391, allocations: 0 / 1.377 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/1.391, allocations: 80.33 kB / 1.377 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.393, allocations: 479.2 kB / 1.378 GB, free: 10.72 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/1.396, allocations: 1.827 MB / 1.38 GB, free: 9.445 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/1.396, allocations: 1.046 MB / 1.381 GB, free: 8.582 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008165/1.397, allocations: 218.9 kB / 1.381 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/1.397, allocations: 79.44 kB / 1.381 GB, free: 8.449 MB / 1.014 GB Notification: Performance of SimCode: time 8.22e-07/1.397, allocations: 0 / 1.381 GB, free: 8.449 MB / 1.014 GB Notification: Performance of Templates: time 0.04328/1.441, allocations: 24.81 MB / 1.405 GB, free: 6.285 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (rm -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches