Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001723/0.001723, allocations: 105 kB / 16.27 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.001875/0.001875, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.743 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001983, allocations: 66.64 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3656, allocations: 159.2 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.8879/1.254, allocations: 265.5 MB / 1.324 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0398/1.293, allocations: 24.31 MB / 1.348 GB, free: 6.844 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/1.297, allocations: 87.5 kB / 1.348 GB, free: 6.758 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002929/1.3, allocations: 0.8464 MB / 1.349 GB, free: 5.906 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/1.311, allocations: 3.552 MB / 1.352 GB, free: 2.355 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/1.315, allocations: 1.238 MB / 1.353 GB, free: 1.133 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005513/1.32, allocations: 3.238 MB / 1.356 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/1.323, allocations: 1.163 MB / 1.358 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009465/1.332, allocations: 3.326 MB / 1.361 GB, free: 9.355 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/1.335, allocations: 0.9295 MB / 1.362 GB, free: 8.422 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004578/1.335, allocations: 88 kB / 1.362 GB, free: 8.336 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009103/1.344, allocations: 3.686 MB / 1.365 GB, free: 4.645 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006344/1.345, allocations: 270.9 kB / 1.366 GB, free: 4.379 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001576/1.347, allocations: 0.6335 MB / 1.366 GB, free: 3.742 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007933/1.355, allocations: 3.308 MB / 1.369 GB, free: 436 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.355, allocations: 0 / 1.369 GB, free: 436 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.863e-06/1.355, allocations: 4 kB / 1.369 GB, free: 432 kB / 1.076 GB Notification: Performance of Transformations before backend: time 5.948e-05/1.355, allocations: 4 kB / 1.37 GB, free: 428 kB / 1.076 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.004326/1.359, allocations: 1.736 MB / 1.371 GB, free: 14.62 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.359, allocations: 8.031 kB / 1.371 GB, free: 14.62 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/1.361, allocations: 294.1 kB / 1.371 GB, free: 14.33 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/1.364, allocations: 1.116 MB / 1.373 GB, free: 13.16 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/1.364, allocations: 49.25 kB / 1.373 GB, free: 13.11 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/1.364, allocations: 67.98 kB / 1.373 GB, free: 13.04 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/1.366, allocations: 0.6644 MB / 1.373 GB, free: 12.32 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/1.366, allocations: 7.938 kB / 1.373 GB, free: 12.31 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/1.366, allocations: 27.94 kB / 1.373 GB, free: 12.28 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/1.366, allocations: 23.94 kB / 1.373 GB, free: 12.26 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009498/1.367, allocations: 424.8 kB / 1.374 GB, free: 11.84 MB / 1.092 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.00666/1.374, allocations: 5.379 MB / 1.379 GB, free: 5.922 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/1.374, allocations: 201 kB / 1.379 GB, free: 5.68 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/1.374, allocations: 112.2 kB / 1.379 GB, free: 5.555 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/1.375, allocations: 206.2 kB / 1.38 GB, free: 5.316 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.375, allocations: 34.56 kB / 1.38 GB, free: 5.273 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006239/1.375, allocations: 59.66 kB / 1.38 GB, free: 5.215 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 3.336e-06/1.375, allocations: 0 / 1.38 GB, free: 5.215 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.001131/1.376, allocations: 344.2 kB / 1.38 GB, free: 4.871 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.377, allocations: 166.1 kB / 1.38 GB, free: 4.672 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/1.379, allocations: 1.172 MB / 1.381 GB, free: 3.492 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/1.379, allocations: 29.8 kB / 1.381 GB, free: 3.457 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/1.379, allocations: 0.5777 MB / 1.382 GB, free: 2.875 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/1.379, allocations: 51.3 kB / 1.382 GB, free: 2.824 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/1.38, allocations: 89.5 kB / 1.382 GB, free: 2.73 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.38, allocations: 325.9 kB / 1.382 GB, free: 2.406 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/1.38, allocations: 96.8 kB / 1.382 GB, free: 2.309 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/1.381, allocations: 387.4 kB / 1.383 GB, free: 1.793 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/1.381, allocations: 449.5 kB / 1.383 GB, free: 1.246 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.381, allocations: 4 kB / 1.383 GB, free: 1.242 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001193/1.382, allocations: 491.8 kB / 1.384 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.382, allocations: 8 kB / 1.384 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/1.382, allocations: 8.781 kB / 1.384 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.383, allocations: 12 kB / 1.384 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/1.383, allocations: 91.83 kB / 1.384 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/1.383, allocations: 15.92 kB / 1.384 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009012/1.384, allocations: 51.89 kB / 1.384 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/1.384, allocations: 20 kB / 1.384 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005637/1.384, allocations: 313.7 kB / 1.384 GB, free: 248 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005213/1.385, allocations: 384.1 kB / 1.385 GB, free: 15.73 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006466/1.386, allocations: 437.5 kB / 1.385 GB, free: 15.19 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/1.386, allocations: 0 / 1.385 GB, free: 15.19 MB / 1.107 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001131/1.387, allocations: 0.4923 MB / 1.385 GB, free: 14.69 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.387, allocations: 8 kB / 1.385 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.387, allocations: 8 kB / 1.385 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/1.387, allocations: 8 kB / 1.385 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/1.387, allocations: 83.83 kB / 1.386 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/1.387, allocations: 15.98 kB / 1.386 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/1.388, allocations: 52.36 kB / 1.386 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/1.388, allocations: 24 kB / 1.386 GB, free: 14.5 MB / 1.107 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.0001899/1.388, allocations: 216 kB / 1.386 GB, free: 14.28 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/1.389, allocations: 114.6 kB / 1.386 GB, free: 14.16 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/1.389, allocations: 257.6 kB / 1.386 GB, free: 13.9 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.389, allocations: 4 kB / 1.386 GB, free: 13.89 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.389, allocations: 0 / 1.386 GB, free: 13.89 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.389, allocations: 7.938 kB / 1.386 GB, free: 13.89 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/1.391, allocations: 1.223 MB / 1.387 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/1.391, allocations: 4 kB / 1.387 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/1.391, allocations: 23.98 kB / 1.387 GB, free: 12.57 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.391, allocations: 3.938 kB / 1.387 GB, free: 12.57 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/1.391, allocations: 8 kB / 1.387 GB, free: 12.56 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.391, allocations: 3.938 kB / 1.387 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.391, allocations: 80 / 1.387 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/1.392, allocations: 322 kB / 1.388 GB, free: 12.21 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/1.393, allocations: 227.5 kB / 1.388 GB, free: 11.97 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/1.393, allocations: 8 kB / 1.388 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/1.393, allocations: 27.95 kB / 1.388 GB, free: 11.93 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/1.393, allocations: 11.94 kB / 1.388 GB, free: 11.92 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/1.393, allocations: 4 kB / 1.388 GB, free: 11.92 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001536/1.395, allocations: 0.8491 MB / 1.389 GB, free: 11.07 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/1.395, allocations: 0 / 1.389 GB, free: 11.07 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002258/1.397, allocations: 0.6985 MB / 1.39 GB, free: 10.37 MB / 1.107 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.002134/1.399, allocations: 0.5037 MB / 1.39 GB, free: 9.867 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.401, allocations: 410.8 kB / 1.39 GB, free: 9.469 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.401, allocations: 0 / 1.39 GB, free: 9.469 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/1.401, allocations: 72.53 kB / 1.39 GB, free: 9.398 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.403, allocations: 0.4942 MB / 1.391 GB, free: 8.918 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/1.406, allocations: 1.53 MB / 1.392 GB, free: 7.336 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/1.407, allocations: 1.032 MB / 1.393 GB, free: 6.273 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/1.407, allocations: 79.42 kB / 1.394 GB, free: 6.195 MB / 1.107 GB Notification: Performance of SimCode: time 5.91e-07/1.407, allocations: 0 / 1.394 GB, free: 6.195 MB / 1.107 GB Notification: Performance of Templates: time 0.03813/1.445, allocations: 21.54 MB / 1.415 GB, free: 0.8047 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (rm -f Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches