Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.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.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") translateModel(Buildings.Experimental.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.Experimental.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.00594/0.00594, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001417/0.001417, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 65.16 kB / 0.899 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2806, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.8347/1.115, allocations: 263.7 MB / 1.31 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03163/1.147, allocations: 26 MB / 1.336 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004254/1.151, allocations: 82.94 kB / 1.336 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/1.154, allocations: 0.6905 MB / 1.336 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009435/1.163, allocations: 3.086 MB / 1.339 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/1.167, allocations: 1.141 MB / 1.341 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005296/1.172, allocations: 4.489 MB / 1.345 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/1.174, allocations: 0.9614 MB / 1.346 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007863/1.182, allocations: 3.008 MB / 1.349 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/1.184, allocations: 0.9641 MB / 1.35 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000258/1.184, allocations: 54.53 kB / 1.35 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007602/1.192, allocations: 3.62 MB / 1.353 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004417/1.192, allocations: 237.5 kB / 1.354 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/1.193, allocations: 0.6097 MB / 1.354 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003778/1.197, allocations: 2.476 MB / 1.357 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.197, allocations: 4 kB / 1.357 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/1.197, allocations: 0 / 1.357 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.528e-05/1.197, allocations: 0 / 1.357 GB, free: 9.281 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.003564/1.2, allocations: 1.743 MB / 1.358 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.201, allocations: 13.97 kB / 1.358 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/1.203, allocations: 299.7 kB / 1.359 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/1.205, allocations: 1.115 MB / 1.36 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/1.205, allocations: 50.73 kB / 1.36 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/1.205, allocations: 60.88 kB / 1.36 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.206, allocations: 0.6433 MB / 1.36 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/1.206, allocations: 0 / 1.36 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/1.206, allocations: 25.28 kB / 1.36 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/1.206, allocations: 22.78 kB / 1.361 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007637/1.207, allocations: 442.2 kB / 1.361 GB, free: 7.691 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.004062/1.211, allocations: 4.746 MB / 1.366 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/1.211, allocations: 242.9 kB / 1.366 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/1.211, allocations: 133.6 kB / 1.366 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/1.212, allocations: 202.9 kB / 1.366 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/1.212, allocations: 41.08 kB / 1.366 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007788/1.213, allocations: 230.7 kB / 1.366 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 3.196e-06/1.213, allocations: 0 / 1.366 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008375/1.213, allocations: 341.6 kB / 1.367 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/1.213, allocations: 161.7 kB / 1.367 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.215, allocations: 1.159 MB / 1.368 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/1.215, allocations: 32.14 kB / 1.368 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/1.215, allocations: 0.555 MB / 1.369 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/1.215, allocations: 68.73 kB / 1.369 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/1.215, allocations: 77.97 kB / 1.369 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/1.215, allocations: 323.2 kB / 1.369 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/1.216, allocations: 88.95 kB / 1.369 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/1.216, allocations: 359.5 kB / 1.369 GB, free: 236 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/1.216, allocations: 403.9 kB / 1.37 GB, free: 15.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.216, allocations: 2.406 kB / 1.37 GB, free: 15.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008309/1.217, allocations: 457.6 kB / 1.37 GB, free: 15.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.217, allocations: 14.06 kB / 1.37 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.217, allocations: 5.656 kB / 1.37 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.217, allocations: 11.19 kB / 1.37 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/1.218, allocations: 81.58 kB / 1.37 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.218, allocations: 10.78 kB / 1.37 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009053/1.218, allocations: 97.3 kB / 1.37 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/1.218, allocations: 25.03 kB / 1.37 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004581/1.219, allocations: 296.9 kB / 1.371 GB, free: 15.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003398/1.219, allocations: 348.3 kB / 1.371 GB, free: 15.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004472/1.22, allocations: 397.2 kB / 1.371 GB, free: 14.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/1.22, allocations: 2.781 kB / 1.371 GB, free: 14.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007768/1.221, allocations: 455.8 kB / 1.372 GB, free: 14.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/1.221, allocations: 7.125 kB / 1.372 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.221, allocations: 6.844 kB / 1.372 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/1.221, allocations: 19.16 kB / 1.372 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/1.221, allocations: 76.16 kB / 1.372 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/1.221, allocations: 16.55 kB / 1.372 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008341/1.222, allocations: 77.33 kB / 1.372 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.222, allocations: 20.31 kB / 1.372 GB, free: 14.4 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.0001439/1.222, allocations: 206.6 kB / 1.372 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/1.222, allocations: 119.6 kB / 1.372 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/1.223, allocations: 250.9 kB / 1.373 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/1.223, allocations: 3.375 kB / 1.373 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.223, allocations: 0 / 1.373 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.223, allocations: 4.656 kB / 1.373 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/1.225, allocations: 1.459 MB / 1.374 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.225, allocations: 3.594 kB / 1.374 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/1.225, allocations: 31.5 kB / 1.374 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.225, allocations: 3.75 kB / 1.374 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.225, allocations: 6.562 kB / 1.374 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.225, allocations: 4.312 kB / 1.374 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.225, allocations: 5.938 kB / 1.374 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/1.225, allocations: 419.1 kB / 1.375 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/1.226, allocations: 221 kB / 1.375 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.226, allocations: 5.156 kB / 1.375 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/1.226, allocations: 53.3 kB / 1.375 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/1.226, allocations: 26.33 kB / 1.375 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/1.226, allocations: 3.219 kB / 1.375 GB, free: 12.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001237/1.228, allocations: 0.8293 MB / 1.376 GB, free: 11.74 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.228, allocations: 0 / 1.376 GB, free: 11.74 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00241/1.23, allocations: 0.7185 MB / 1.376 GB, free: 11.63 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.001863/1.232, allocations: 0.5177 MB / 1.377 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008537/1.233, allocations: 365.5 kB / 1.377 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.233, allocations: 7.531 kB / 1.377 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/1.233, allocations: 75.7 kB / 1.377 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/1.235, allocations: 0.4892 MB / 1.378 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/1.238, allocations: 1.862 MB / 1.38 GB, free: 9.715 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/1.239, allocations: 1.043 MB / 1.381 GB, free: 8.852 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/1.239, allocations: 81.64 kB / 1.381 GB, free: 8.836 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/1.239, allocations: 0 / 1.381 GB, free: 8.836 MB / 1.014 GB Notification: Performance of Templates: time 0.03179/1.271, allocations: 21.46 MB / 1.402 GB, free: 10.14 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches