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.001224/0.001224, 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.001352/0.001352, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.7 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 71.03 kB / 0.9114 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4313, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.107/1.538, allocations: 263.6 MB / 1.325 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04102/1.579, allocations: 25.98 MB / 1.35 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004944/1.584, allocations: 83.38 kB / 1.35 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002968/1.587, allocations: 0.689 MB / 1.351 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/1.598, allocations: 3.099 MB / 1.354 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003726/1.602, allocations: 1.13 MB / 1.355 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007363/1.61, allocations: 4.484 MB / 1.36 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/1.612, allocations: 0.9759 MB / 1.361 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/1.623, allocations: 3.006 MB / 1.364 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/1.626, allocations: 0.9694 MB / 1.365 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002084/1.626, allocations: 50.41 kB / 1.365 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009333/1.636, allocations: 3.629 MB / 1.368 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000409/1.636, allocations: 232 kB / 1.368 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/1.637, allocations: 0.6079 MB / 1.369 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006835/1.644, allocations: 3.303 MB / 1.372 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.644, allocations: 0 / 1.372 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.644, allocations: 0 / 1.372 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.654e-05/1.644, allocations: 7.938 kB / 1.372 GB, free: 0.5312 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.003572/1.648, allocations: 1.741 MB / 1.374 GB, free: 15.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.648, allocations: 10.25 kB / 1.374 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/1.65, allocations: 299.1 kB / 1.374 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/1.652, allocations: 1.12 MB / 1.375 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/1.652, allocations: 45.56 kB / 1.375 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.203e-05/1.652, allocations: 67.84 kB / 1.375 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/1.653, allocations: 0.643 MB / 1.376 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/1.653, allocations: 2.625 kB / 1.376 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/1.653, allocations: 24.41 kB / 1.376 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/1.653, allocations: 16.44 kB / 1.376 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009317/1.654, allocations: 447.2 kB / 1.376 GB, free: 13.52 MB / 1.014 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.004912/1.659, allocations: 4.727 MB / 1.381 GB, free: 9.012 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/1.66, allocations: 237.5 kB / 1.381 GB, free: 8.816 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/1.66, allocations: 140.7 kB / 1.381 GB, free: 8.719 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/1.66, allocations: 203 kB / 1.382 GB, free: 8.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.66, allocations: 38.56 kB / 1.382 GB, free: 8.473 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000729/1.661, allocations: 229.5 kB / 1.382 GB, free: 8.367 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/1.661, allocations: 0 / 1.382 GB, free: 8.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0009082/1.662, allocations: 333.8 kB / 1.382 GB, free: 8.195 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/1.662, allocations: 167.5 kB / 1.382 GB, free: 8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/1.664, allocations: 1.154 MB / 1.383 GB, free: 7.367 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/1.664, allocations: 34.17 kB / 1.384 GB, free: 7.332 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005075/1.664, allocations: 0.5619 MB / 1.384 GB, free: 6.836 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/1.664, allocations: 55.91 kB / 1.384 GB, free: 6.793 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/1.665, allocations: 91.73 kB / 1.384 GB, free: 6.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.665, allocations: 317.4 kB / 1.384 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/1.665, allocations: 88.11 kB / 1.385 GB, free: 6.371 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/1.665, allocations: 359.8 kB / 1.385 GB, free: 5.973 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/1.666, allocations: 408 kB / 1.385 GB, free: 5.613 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/1.666, allocations: 6.094 kB / 1.385 GB, free: 5.609 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009011/1.667, allocations: 463.9 kB / 1.386 GB, free: 5.402 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.667, allocations: 11.72 kB / 1.386 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.667, allocations: 6.031 kB / 1.386 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.667, allocations: 10.22 kB / 1.386 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/1.667, allocations: 77.7 kB / 1.386 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/1.667, allocations: 11.03 kB / 1.386 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009223/1.668, allocations: 81.02 kB / 1.386 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/1.668, allocations: 22.59 kB / 1.386 GB, free: 5.348 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004589/1.669, allocations: 310.1 kB / 1.386 GB, free: 5.145 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003704/1.669, allocations: 343.6 kB / 1.387 GB, free: 4.758 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005191/1.67, allocations: 404.6 kB / 1.387 GB, free: 4.398 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.54e-06/1.67, allocations: 7.391 kB / 1.387 GB, free: 4.395 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007942/1.67, allocations: 450.2 kB / 1.387 GB, free: 4.195 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.67, allocations: 7.375 kB / 1.387 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.67, allocations: 8.438 kB / 1.387 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.67, allocations: 13.2 kB / 1.387 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/1.671, allocations: 80.69 kB / 1.388 GB, free: 4.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/1.671, allocations: 13.47 kB / 1.388 GB, free: 4.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/1.672, allocations: 79.08 kB / 1.388 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/1.672, allocations: 22.05 kB / 1.388 GB, free: 4.137 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.0001793/1.672, allocations: 215.3 kB / 1.388 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/1.672, allocations: 107.8 kB / 1.388 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/1.673, allocations: 252 kB / 1.388 GB, free: 3.715 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.673, allocations: 4.719 kB / 1.388 GB, free: 3.715 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.673, allocations: 0 / 1.388 GB, free: 3.715 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.673, allocations: 5.984 kB / 1.388 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/1.674, allocations: 1.465 MB / 1.39 GB, free: 2.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.674, allocations: 2.094 kB / 1.39 GB, free: 2.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/1.675, allocations: 28.33 kB / 1.39 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.675, allocations: 2.281 kB / 1.39 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/1.675, allocations: 6.406 kB / 1.39 GB, free: 2.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.675, allocations: 10.05 kB / 1.39 GB, free: 2.496 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.675, allocations: 4 kB / 1.39 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/1.675, allocations: 418.6 kB / 1.39 GB, free: 2.172 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/1.676, allocations: 221.1 kB / 1.39 GB, free: 1.973 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.676, allocations: 9.438 kB / 1.39 GB, free: 1.969 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/1.676, allocations: 56.56 kB / 1.39 GB, free: 1.941 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/1.677, allocations: 17.11 kB / 1.39 GB, free: 1.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/1.677, allocations: 6.844 kB / 1.39 GB, free: 1.934 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001336/1.678, allocations: 0.8313 MB / 1.391 GB, free: 1.469 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.678, allocations: 0 / 1.391 GB, free: 1.469 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002464/1.68, allocations: 0.7193 MB / 1.392 GB, free: 1.363 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.001841/1.682, allocations: 0.5046 MB / 1.392 GB, free: 1.152 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009071/1.683, allocations: 378.4 kB / 1.393 GB, free: 1.023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.683, allocations: 0.9375 kB / 1.393 GB, free: 1.023 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/1.683, allocations: 77.27 kB / 1.393 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.686, allocations: 490.1 kB / 1.393 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/1.688, allocations: 1.831 MB / 1.395 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/1.689, allocations: 1.041 MB / 1.396 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008986/1.69, allocations: 220.2 kB / 1.396 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.69, allocations: 73.52 kB / 1.396 GB, free: 14.5 MB / 1.029 GB Notification: Performance of SimCode: time 1.222e-06/1.69, allocations: 0 / 1.396 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Templates: time 0.04293/1.733, allocations: 24.81 MB / 1.421 GB, free: 10.36 MB / 1.045 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