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.001595/0.001596, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001893/0.001893, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.508/2.508, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.89 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8407/0.8422, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.2791/1.121, allocations: 265.5 MB / 1.468 GB, free: 3.23 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03649/1.158, allocations: 24.32 MB / 1.491 GB, free: 10.85 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/1.162, allocations: 91.44 kB / 1.492 GB, free: 10.76 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00283/1.164, allocations: 0.8621 MB / 1.492 GB, free: 9.891 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/1.175, allocations: 3.667 MB / 1.496 GB, free: 6.219 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/1.178, allocations: 1.248 MB / 1.497 GB, free: 4.98 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005173/1.183, allocations: 3.259 MB / 1.5 GB, free: 1.711 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/1.186, allocations: 1.161 MB / 1.501 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008666/1.194, allocations: 3.457 MB / 1.505 GB, free: 13.05 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/1.197, allocations: 0.9295 MB / 1.506 GB, free: 12.12 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004086/1.197, allocations: 84 kB / 1.506 GB, free: 12.04 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008521/1.205, allocations: 3.768 MB / 1.51 GB, free: 8.262 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005757/1.206, allocations: 255 kB / 1.51 GB, free: 8.012 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001439/1.208, allocations: 0.6451 MB / 1.51 GB, free: 7.363 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.008009/1.216, allocations: 3.328 MB / 1.514 GB, free: 4.027 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.216, allocations: 0 / 1.514 GB, free: 4.027 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.986e-06/1.216, allocations: 0 / 1.514 GB, free: 4.027 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.929e-05/1.216, allocations: 0 / 1.514 GB, free: 4.027 MB / 1.232 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.004108/1.22, allocations: 1.736 MB / 1.515 GB, free: 2.234 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.22, allocations: 11.97 kB / 1.515 GB, free: 2.223 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/1.222, allocations: 290.1 kB / 1.516 GB, free: 1.938 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/1.225, allocations: 1.175 MB / 1.517 GB, free: 0.707 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/1.225, allocations: 49.31 kB / 1.517 GB, free: 0.6602 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.225, allocations: 64 kB / 1.517 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.226, allocations: 0.6722 MB / 1.518 GB, free: 15.86 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/1.226, allocations: 3.938 kB / 1.518 GB, free: 15.86 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/1.226, allocations: 28 kB / 1.518 GB, free: 15.83 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/1.226, allocations: 16 kB / 1.518 GB, free: 15.82 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/1.227, allocations: 432.8 kB / 1.518 GB, free: 15.39 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.006013/1.233, allocations: 5.351 MB / 1.523 GB, free: 9.5 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/1.234, allocations: 209 kB / 1.523 GB, free: 9.25 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/1.234, allocations: 112.2 kB / 1.524 GB, free: 9.125 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/1.234, allocations: 198.2 kB / 1.524 GB, free: 8.895 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/1.234, allocations: 42.5 kB / 1.524 GB, free: 8.844 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006024/1.235, allocations: 55.56 kB / 1.524 GB, free: 8.789 MB / 1.248 GB Notification: Performance of pre-optimization done (n=13): time 3.567e-06/1.235, allocations: 0 / 1.524 GB, free: 8.789 MB / 1.248 GB Notification: Performance of matching and sorting (n=13): time 0.00112/1.236, allocations: 340.5 kB / 1.524 GB, free: 8.449 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/1.236, allocations: 166.2 kB / 1.524 GB, free: 8.25 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/1.238, allocations: 1.171 MB / 1.525 GB, free: 7.07 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/1.238, allocations: 33.83 kB / 1.525 GB, free: 7.031 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/1.239, allocations: 0.5738 MB / 1.526 GB, free: 6.453 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/1.239, allocations: 55.28 kB / 1.526 GB, free: 6.398 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.239, allocations: 93.52 kB / 1.526 GB, free: 6.301 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.239, allocations: 318 kB / 1.526 GB, free: 5.984 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/1.239, allocations: 100.6 kB / 1.527 GB, free: 5.883 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/1.24, allocations: 387.4 kB / 1.527 GB, free: 5.367 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/1.24, allocations: 445.5 kB / 1.527 GB, free: 4.824 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.24, allocations: 4 kB / 1.527 GB, free: 4.82 MB / 1.248 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001086/1.241, allocations: 0.4884 MB / 1.528 GB, free: 4.324 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.241, allocations: 11.94 kB / 1.528 GB, free: 4.312 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.241, allocations: 8.375 kB / 1.528 GB, free: 4.305 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.241, allocations: 8 kB / 1.528 GB, free: 4.297 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/1.242, allocations: 83.89 kB / 1.528 GB, free: 4.215 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/1.242, allocations: 15.94 kB / 1.528 GB, free: 4.199 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/1.243, allocations: 52.23 kB / 1.528 GB, free: 4.148 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/1.243, allocations: 24 kB / 1.528 GB, free: 4.125 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000564/1.243, allocations: 312 kB / 1.528 GB, free: 3.816 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004264/1.244, allocations: 383.4 kB / 1.529 GB, free: 3.301 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005933/1.244, allocations: 441.5 kB / 1.529 GB, free: 2.762 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/1.244, allocations: 0 / 1.529 GB, free: 2.762 MB / 1.248 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001062/1.245, allocations: 488.5 kB / 1.53 GB, free: 2.277 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.245, allocations: 11.98 kB / 1.53 GB, free: 2.266 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.246, allocations: 8 kB / 1.53 GB, free: 2.258 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.246, allocations: 12 kB / 1.53 GB, free: 2.246 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/1.246, allocations: 87.83 kB / 1.53 GB, free: 2.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.246, allocations: 11.94 kB / 1.53 GB, free: 2.148 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/1.247, allocations: 51.86 kB / 1.53 GB, free: 2.098 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/1.247, allocations: 28 kB / 1.53 GB, free: 2.07 MB / 1.248 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.0001695/1.247, allocations: 208.1 kB / 1.53 GB, free: 1.859 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/1.247, allocations: 122.6 kB / 1.53 GB, free: 1.738 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/1.248, allocations: 257.4 kB / 1.53 GB, free: 1.473 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.248, allocations: 4 kB / 1.53 GB, free: 1.469 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.248, allocations: 0 / 1.53 GB, free: 1.469 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.248, allocations: 7.938 kB / 1.53 GB, free: 1.461 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/1.25, allocations: 1.207 MB / 1.532 GB, free: 192 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.25, allocations: 0 / 1.532 GB, free: 192 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/1.25, allocations: 35.8 kB / 1.532 GB, free: 156 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/1.25, allocations: 4 kB / 1.532 GB, free: 152 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.25, allocations: 4.125 kB / 1.532 GB, free: 148 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/1.25, allocations: 7.984 kB / 1.532 GB, free: 140 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.25, allocations: 0 / 1.532 GB, free: 140 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/1.25, allocations: 314.2 kB / 1.532 GB, free: 15.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/1.251, allocations: 243.5 kB / 1.532 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/1.251, allocations: 0 / 1.532 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/1.252, allocations: 27.97 kB / 1.532 GB, free: 15.51 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/1.252, allocations: 7.984 kB / 1.532 GB, free: 15.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/1.252, allocations: 4 kB / 1.532 GB, free: 15.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001449/1.253, allocations: 0.8491 MB / 1.533 GB, free: 14.65 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.81e-07/1.253, allocations: 0 / 1.533 GB, free: 14.65 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002123/1.255, allocations: 0.7101 MB / 1.534 GB, free: 13.94 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.002211/1.257, allocations: 0.5018 MB / 1.534 GB, free: 13.44 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.259, allocations: 406.1 kB / 1.535 GB, free: 13.04 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.259, allocations: 0 / 1.535 GB, free: 13.04 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/1.259, allocations: 77.33 kB / 1.535 GB, free: 12.97 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.261, allocations: 0.4962 MB / 1.535 GB, free: 12.48 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/1.264, allocations: 1.495 MB / 1.537 GB, free: 10.94 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/1.265, allocations: 1.036 MB / 1.538 GB, free: 9.871 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/1.265, allocations: 75.42 kB / 1.538 GB, free: 9.797 MB / 1.264 GB Notification: Performance of SimCode: time 1.092e-06/1.265, allocations: 4 kB / 1.538 GB, free: 9.793 MB / 1.264 GB Notification: Performance of Templates: time 0.03535/1.301, allocations: 21.63 MB / 1.559 GB, free: 4.293 MB / 1.279 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/jenkins1/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