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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001103/0.001103, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009797/0.009797, allocations: 172.6 kB / 16.27 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.56/1.56, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004043, allocations: 12.28 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.358, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.057/1.415, allocations: 260.2 MB / 1.328 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03965/1.454, allocations: 25.72 MB / 1.353 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007487/1.462, allocations: 84.25 kB / 1.353 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003979/1.466, allocations: 0.6886 MB / 1.354 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01301/1.479, allocations: 3.092 MB / 1.357 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003486/1.482, allocations: 1.148 MB / 1.358 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006204/1.489, allocations: 4.491 MB / 1.363 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/1.491, allocations: 0.9449 MB / 1.364 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009857/1.5, allocations: 2.977 MB / 1.367 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/1.503, allocations: 0.9389 MB / 1.367 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/1.503, allocations: 37.47 kB / 1.367 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008411/1.511, allocations: 3.616 MB / 1.371 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/1.512, allocations: 213 kB / 1.371 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009598/1.513, allocations: 0.6071 MB / 1.372 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006279/1.519, allocations: 3.262 MB / 1.375 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.519, allocations: 3.469 kB / 1.375 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.585e-06/1.519, allocations: 0 / 1.375 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.937e-05/1.519, allocations: 0 / 1.375 GB, free: 8.277 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.003201/1.522, allocations: 1.51 MB / 1.376 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.522, allocations: 15.89 kB / 1.376 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/1.524, allocations: 300 kB / 1.377 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.526, allocations: 1.114 MB / 1.378 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/1.526, allocations: 47.41 kB / 1.378 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/1.526, allocations: 67.69 kB / 1.378 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/1.527, allocations: 0.6476 MB / 1.379 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/1.527, allocations: 9.797 kB / 1.379 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/1.527, allocations: 34.17 kB / 1.379 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/1.527, allocations: 13.84 kB / 1.379 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/1.528, allocations: 455.2 kB / 1.379 GB, free: 5.422 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.003857/1.532, allocations: 4.739 MB / 1.384 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/1.532, allocations: 245.9 kB / 1.384 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/1.533, allocations: 140.8 kB / 1.384 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/1.533, allocations: 209.4 kB / 1.384 GB, free: 436 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/1.533, allocations: 40.97 kB / 1.384 GB, free: 392 kB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006815/1.534, allocations: 226.2 kB / 1.385 GB, free: 284 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/1.534, allocations: 3.938 kB / 1.385 GB, free: 280 kB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000897/1.535, allocations: 353 kB / 1.385 GB, free: 100 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.535, allocations: 164.2 kB / 1.385 GB, free: 15.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/1.536, allocations: 1.154 MB / 1.386 GB, free: 15.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/1.536, allocations: 33.17 kB / 1.386 GB, free: 15.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/1.537, allocations: 0.5649 MB / 1.387 GB, free: 14.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/1.537, allocations: 52.5 kB / 1.387 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/1.537, allocations: 36.92 kB / 1.387 GB, free: 14.67 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.537, allocations: 321.5 kB / 1.387 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/1.537, allocations: 90.19 kB / 1.387 GB, free: 14.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/1.538, allocations: 364.6 kB / 1.388 GB, free: 13.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/1.538, allocations: 419.3 kB / 1.388 GB, free: 13.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.538, allocations: 0 / 1.388 GB, free: 13.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008737/1.539, allocations: 473.8 kB / 1.388 GB, free: 13.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002102/1.54, allocations: 295.1 kB / 1.389 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.54, allocations: 15.12 kB / 1.389 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.54, allocations: 8.406 kB / 1.389 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/1.54, allocations: 83.42 kB / 1.389 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/1.54, allocations: 14.88 kB / 1.389 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/1.541, allocations: 84.86 kB / 1.389 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/1.541, allocations: 29.67 kB / 1.389 GB, free: 12.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/1.541, allocations: 3.062 kB / 1.389 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005474/1.541, allocations: 326.3 kB / 1.389 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.541, allocations: 10.02 kB / 1.389 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/1.541, allocations: 12.59 kB / 1.389 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/1.542, allocations: 88.2 kB / 1.389 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.542, allocations: 11.53 kB / 1.389 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/1.542, allocations: 78.39 kB / 1.389 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/1.542, allocations: 21.41 kB / 1.389 GB, free: 12.73 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.0004269/1.543, allocations: 361.5 kB / 1.39 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/1.543, allocations: 106.7 kB / 1.39 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/1.544, allocations: 261 kB / 1.39 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/1.544, allocations: 3.344 kB / 1.39 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.544, allocations: 0 / 1.39 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.544, allocations: 7.156 kB / 1.39 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/1.546, allocations: 1.467 MB / 1.392 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.546, allocations: 3.594 kB / 1.392 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/1.546, allocations: 31.86 kB / 1.392 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/1.546, allocations: 6.312 kB / 1.392 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/1.546, allocations: 7.031 kB / 1.392 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.546, allocations: 6.938 kB / 1.392 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.546, allocations: 5.969 kB / 1.392 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/1.546, allocations: 417.1 kB / 1.392 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/1.547, allocations: 244.5 kB / 1.392 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.547, allocations: 15.38 kB / 1.392 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/1.548, allocations: 58 kB / 1.392 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/1.548, allocations: 12.86 kB / 1.392 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/1.548, allocations: 9.375 kB / 1.392 GB, free: 10.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001351/1.549, allocations: 0.8326 MB / 1.393 GB, free: 9.965 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.549, allocations: 4 kB / 1.393 GB, free: 9.961 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002471/1.551, allocations: 0.7132 MB / 1.394 GB, free: 9.859 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.001651/1.553, allocations: 0.5124 MB / 1.394 GB, free: 9.645 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008184/1.554, allocations: 388.4 kB / 1.395 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.554, allocations: 0 / 1.395 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/1.554, allocations: 83.98 kB / 1.395 GB, free: 9.492 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/1.557, allocations: 0.4905 MB / 1.395 GB, free: 9.246 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/1.559, allocations: 1.851 MB / 1.397 GB, free: 7.945 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/1.56, allocations: 1.037 MB / 1.398 GB, free: 7.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009006/1.561, allocations: 220.2 kB / 1.398 GB, free: 6.977 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/1.561, allocations: 77.19 kB / 1.398 GB, free: 6.961 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/1.561, allocations: 0 / 1.398 GB, free: 6.961 MB / 1.014 GB Notification: Performance of Templates: time 0.04385/1.605, allocations: 24.97 MB / 1.423 GB, free: 4.023 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