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.001261/0.001261, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001285/0.001285, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 59.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8021, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.2743/1.076, allocations: 265.5 MB / 1.468 GB, free: 3.098 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03598/1.113, allocations: 24.32 MB / 1.491 GB, free: 10.71 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003507/1.116, allocations: 91.44 kB / 1.492 GB, free: 10.62 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/1.119, allocations: 0.8426 MB / 1.492 GB, free: 9.777 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/1.129, allocations: 3.547 MB / 1.496 GB, free: 6.227 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/1.133, allocations: 1.249 MB / 1.497 GB, free: 4.988 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005263/1.138, allocations: 3.252 MB / 1.5 GB, free: 1.727 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/1.14, allocations: 1.157 MB / 1.501 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008834/1.149, allocations: 3.382 MB / 1.505 GB, free: 13.14 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/1.151, allocations: 0.9295 MB / 1.506 GB, free: 12.21 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003549/1.152, allocations: 88 kB / 1.506 GB, free: 12.12 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008277/1.16, allocations: 3.768 MB / 1.509 GB, free: 8.352 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006013/1.161, allocations: 259 kB / 1.51 GB, free: 8.098 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/1.162, allocations: 0.6451 MB / 1.51 GB, free: 7.449 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.007406/1.169, allocations: 3.32 MB / 1.513 GB, free: 4.121 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.169, allocations: 3.984 kB / 1.513 GB, free: 4.117 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.753e-06/1.169, allocations: 0 / 1.513 GB, free: 4.117 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.673e-05/1.169, allocations: 0 / 1.513 GB, free: 4.117 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.003475/1.173, allocations: 1.732 MB / 1.515 GB, free: 2.328 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.173, allocations: 8.031 kB / 1.515 GB, free: 2.32 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/1.175, allocations: 294.1 kB / 1.515 GB, free: 2.031 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/1.177, allocations: 1.178 MB / 1.517 GB, free: 0.7969 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/1.177, allocations: 49.31 kB / 1.517 GB, free: 0.75 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/1.177, allocations: 63.94 kB / 1.517 GB, free: 0.6875 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/1.179, allocations: 0.6801 MB / 1.517 GB, free: 15.94 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.179, allocations: 7.938 kB / 1.517 GB, free: 15.93 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/1.179, allocations: 24 kB / 1.517 GB, free: 15.91 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/1.179, allocations: 12 kB / 1.517 GB, free: 15.9 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/1.18, allocations: 424.8 kB / 1.518 GB, free: 15.48 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.005254/1.185, allocations: 5.35 MB / 1.523 GB, free: 9.594 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/1.185, allocations: 205 kB / 1.523 GB, free: 9.348 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/1.185, allocations: 112.2 kB / 1.523 GB, free: 9.223 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/1.186, allocations: 210.1 kB / 1.524 GB, free: 8.98 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/1.186, allocations: 38.5 kB / 1.524 GB, free: 8.934 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005386/1.186, allocations: 55.58 kB / 1.524 GB, free: 8.879 MB / 1.248 GB Notification: Performance of pre-optimization done (n=13): time 2.715e-06/1.186, allocations: 0 / 1.524 GB, free: 8.879 MB / 1.248 GB Notification: Performance of matching and sorting (n=13): time 0.0009221/1.187, allocations: 344.1 kB / 1.524 GB, free: 8.535 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/1.187, allocations: 162.7 kB / 1.524 GB, free: 8.34 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/1.189, allocations: 1.183 MB / 1.525 GB, free: 7.148 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/1.189, allocations: 25.7 kB / 1.525 GB, free: 7.117 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/1.19, allocations: 0.5738 MB / 1.526 GB, free: 6.539 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/1.19, allocations: 51.34 kB / 1.526 GB, free: 6.488 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.19, allocations: 89.5 kB / 1.526 GB, free: 6.395 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.19, allocations: 322 kB / 1.526 GB, free: 6.074 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/1.19, allocations: 100.6 kB / 1.526 GB, free: 5.973 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/1.19, allocations: 387.4 kB / 1.527 GB, free: 5.457 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/1.191, allocations: 445.5 kB / 1.527 GB, free: 4.914 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.191, allocations: 4 kB / 1.527 GB, free: 4.91 MB / 1.248 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00104/1.192, allocations: 491.7 kB / 1.528 GB, free: 4.422 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.192, allocations: 12.91 kB / 1.528 GB, free: 4.41 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.192, allocations: 8 kB / 1.528 GB, free: 4.402 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.192, allocations: 12 kB / 1.528 GB, free: 4.391 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/1.193, allocations: 88.2 kB / 1.528 GB, free: 4.305 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/1.193, allocations: 19.92 kB / 1.528 GB, free: 4.285 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/1.193, allocations: 47.84 kB / 1.528 GB, free: 4.238 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/1.193, allocations: 23.98 kB / 1.528 GB, free: 4.215 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005349/1.194, allocations: 316 kB / 1.528 GB, free: 3.902 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004059/1.194, allocations: 379.4 kB / 1.529 GB, free: 3.391 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005597/1.195, allocations: 437.4 kB / 1.529 GB, free: 2.855 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.689e-06/1.195, allocations: 4 kB / 1.529 GB, free: 2.852 MB / 1.248 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001059/1.196, allocations: 496 kB / 1.529 GB, free: 2.359 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.196, allocations: 8 kB / 1.529 GB, free: 2.352 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.196, allocations: 8 kB / 1.529 GB, free: 2.344 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/1.196, allocations: 12 kB / 1.529 GB, free: 2.332 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/1.196, allocations: 83.83 kB / 1.53 GB, free: 2.25 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.196, allocations: 12.44 kB / 1.53 GB, free: 2.238 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/1.197, allocations: 55.86 kB / 1.53 GB, free: 2.184 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/1.197, allocations: 31.92 kB / 1.53 GB, free: 2.152 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.000179/1.198, allocations: 204.1 kB / 1.53 GB, free: 1.945 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/1.198, allocations: 110.7 kB / 1.53 GB, free: 1.836 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/1.199, allocations: 265.5 kB / 1.53 GB, free: 1.562 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.199, allocations: 4 kB / 1.53 GB, free: 1.559 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.199, allocations: 0 / 1.53 GB, free: 1.559 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.199, allocations: 3.938 kB / 1.53 GB, free: 1.555 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.2, allocations: 1.211 MB / 1.531 GB, free: 284 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.2, allocations: 4 kB / 1.531 GB, free: 280 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/1.2, allocations: 31.91 kB / 1.531 GB, free: 248 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/1.2, allocations: 7.938 kB / 1.531 GB, free: 240 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/1.2, allocations: 4 kB / 1.531 GB, free: 236 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/1.2, allocations: 4 kB / 1.531 GB, free: 232 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/1.2, allocations: 0 / 1.531 GB, free: 232 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/1.201, allocations: 322.2 kB / 1.532 GB, free: 15.88 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/1.201, allocations: 235.4 kB / 1.532 GB, free: 15.63 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.201, allocations: 4 kB / 1.532 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/1.202, allocations: 27.97 kB / 1.532 GB, free: 15.6 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/1.202, allocations: 11.98 kB / 1.532 GB, free: 15.59 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/1.202, allocations: 4 kB / 1.532 GB, free: 15.58 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001321/1.203, allocations: 0.8491 MB / 1.533 GB, free: 14.73 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.7e-07/1.203, allocations: 0 / 1.533 GB, free: 14.73 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002159/1.206, allocations: 0.7023 MB / 1.533 GB, free: 14.03 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.001851/1.207, allocations: 0.4979 MB / 1.534 GB, free: 13.53 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009901/1.208, allocations: 414.6 kB / 1.534 GB, free: 13.12 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.208, allocations: 0.75 kB / 1.534 GB, free: 13.12 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/1.209, allocations: 76.08 kB / 1.534 GB, free: 13.05 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.211, allocations: 0.4943 MB / 1.535 GB, free: 12.57 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/1.214, allocations: 1.487 MB / 1.536 GB, free: 11.04 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/1.214, allocations: 1.036 MB / 1.537 GB, free: 9.969 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/1.215, allocations: 83.41 kB / 1.537 GB, free: 9.887 MB / 1.264 GB Notification: Performance of SimCode: time 1.182e-06/1.215, allocations: 0 / 1.537 GB, free: 9.887 MB / 1.264 GB Notification: Performance of Templates: time 0.03421/1.249, allocations: 21.64 MB / 1.559 GB, free: 4.383 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