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.00157/0.00157, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002264/0.002263, allocations: 195.9 kB / 16.26 MB, free: 6.621 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.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 482.4 MB / 0.7543 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001904, allocations: 69.23 kB / 0.9233 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3506, allocations: 162.2 MB / 1.082 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.9201/1.271, allocations: 262.9 MB / 1.339 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02932/1.3, allocations: 24.57 MB / 1.362 GB, free: 0 / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/1.304, allocations: 85.56 kB / 1.363 GB, free: 0 / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002958/1.307, allocations: 0.7372 MB / 1.363 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/1.317, allocations: 3.212 MB / 1.366 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003315/1.321, allocations: 1.148 MB / 1.368 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005116/1.326, allocations: 3.225 MB / 1.371 GB, free: 13.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/1.328, allocations: 1.155 MB / 1.372 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009855/1.338, allocations: 3.729 MB / 1.375 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/1.34, allocations: 0.9642 MB / 1.376 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/1.34, allocations: 90.12 kB / 1.376 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008402/1.349, allocations: 3.709 MB / 1.38 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005659/1.349, allocations: 283.2 kB / 1.38 GB, free: 10.97 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001465/1.351, allocations: 0.6482 MB / 1.381 GB, free: 10.58 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009106/1.36, allocations: 3.337 MB / 1.384 GB, free: 9.062 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/1.36, allocations: 0 / 1.384 GB, free: 9.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/1.36, allocations: 2.688 kB / 1.384 GB, free: 9.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.117e-05/1.36, allocations: 0 / 1.384 GB, free: 9.062 MB / 1.014 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.005779/1.366, allocations: 1.743 MB / 1.386 GB, free: 7.766 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/1.366, allocations: 8.281 kB / 1.386 GB, free: 7.766 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/1.369, allocations: 299 kB / 1.386 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/1.371, allocations: 1.12 MB / 1.387 GB, free: 6.754 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/1.371, allocations: 47.88 kB / 1.387 GB, free: 6.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/1.371, allocations: 64.75 kB / 1.387 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/1.373, allocations: 0.6446 MB / 1.388 GB, free: 6.281 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.373, allocations: 6.469 kB / 1.388 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/1.373, allocations: 27.38 kB / 1.388 GB, free: 6.258 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/1.373, allocations: 13.44 kB / 1.388 GB, free: 6.258 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009143/1.374, allocations: 449.2 kB / 1.389 GB, free: 6.043 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.005935/1.38, allocations: 4.72 MB / 1.393 GB, free: 1.543 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/1.38, allocations: 239.5 kB / 1.393 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/1.38, allocations: 138.5 kB / 1.394 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003431/1.381, allocations: 206.5 kB / 1.394 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/1.381, allocations: 36.91 kB / 1.394 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009065/1.382, allocations: 195.7 kB / 1.394 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 2.936e-06/1.382, allocations: 5.656 kB / 1.394 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.00112/1.383, allocations: 407.9 kB / 1.394 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.383, allocations: 160.7 kB / 1.395 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/1.385, allocations: 1.154 MB / 1.396 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/1.385, allocations: 31.55 kB / 1.396 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/1.385, allocations: 0.5707 MB / 1.396 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/1.385, allocations: 58.72 kB / 1.396 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/1.385, allocations: 88.36 kB / 1.396 GB, free: 15.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.386, allocations: 320.7 kB / 1.397 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/1.386, allocations: 111.2 kB / 1.397 GB, free: 14.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/1.386, allocations: 370.1 kB / 1.397 GB, free: 14.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/1.387, allocations: 434.5 kB / 1.398 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.387, allocations: 3.562 kB / 1.398 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001011/1.388, allocations: 0.4931 MB / 1.398 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.388, allocations: 7.719 kB / 1.398 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.388, allocations: 5.938 kB / 1.398 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.388, allocations: 10.22 kB / 1.398 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/1.388, allocations: 83.12 kB / 1.398 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/1.388, allocations: 11.12 kB / 1.398 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009463/1.389, allocations: 84.8 kB / 1.398 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/1.389, allocations: 36.7 kB / 1.398 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004876/1.39, allocations: 321.6 kB / 1.399 GB, free: 13.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004331/1.39, allocations: 357.5 kB / 1.399 GB, free: 13.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006143/1.391, allocations: 422 kB / 1.399 GB, free: 12.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/1.391, allocations: 2.625 kB / 1.399 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0009519/1.392, allocations: 491.2 kB / 1.4 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.392, allocations: 9.625 kB / 1.4 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.392, allocations: 7.375 kB / 1.4 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/1.392, allocations: 8.406 kB / 1.4 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/1.392, allocations: 80.88 kB / 1.4 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.392, allocations: 18.91 kB / 1.4 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008751/1.393, allocations: 74.11 kB / 1.4 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/1.393, allocations: 26.92 kB / 1.4 GB, free: 12.56 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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.0001684/1.393, allocations: 208.6 kB / 1.4 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/1.394, allocations: 109.4 kB / 1.4 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006858/1.394, allocations: 315 kB / 1.401 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.394, allocations: 4.312 kB / 1.401 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.394, allocations: 0 / 1.401 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.394, allocations: 3.062 kB / 1.401 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/1.396, allocations: 1.225 MB / 1.402 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.396, allocations: 2.625 kB / 1.402 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/1.396, allocations: 30.89 kB / 1.402 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.396, allocations: 7.469 kB / 1.402 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/1.396, allocations: 3.984 kB / 1.402 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.396, allocations: 2.812 kB / 1.402 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.396, allocations: 2.094 kB / 1.402 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/1.397, allocations: 342.4 kB / 1.402 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/1.397, allocations: 228.9 kB / 1.402 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/1.398, allocations: 6.344 kB / 1.402 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/1.398, allocations: 56.62 kB / 1.402 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/1.398, allocations: 10.23 kB / 1.402 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/1.398, allocations: 4.688 kB / 1.402 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001353/1.4, allocations: 0.818 MB / 1.403 GB, free: 10.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.1e-07/1.4, allocations: 0 / 1.403 GB, free: 10.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002048/1.402, allocations: 0.7201 MB / 1.404 GB, free: 10.02 MB / 1.029 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 (15): * Single equations (assignments): 15 * 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.001905/1.404, allocations: 0.5268 MB / 1.404 GB, free: 9.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008719/1.404, allocations: 426.9 kB / 1.405 GB, free: 9.648 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.404, allocations: 4 kB / 1.405 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/1.405, allocations: 91.38 kB / 1.405 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/1.407, allocations: 479.5 kB / 1.405 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/1.41, allocations: 1.91 MB / 1.407 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/1.411, allocations: 1.043 MB / 1.408 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009128/1.411, allocations: 223.2 kB / 1.409 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.412, allocations: 80.09 kB / 1.409 GB, free: 7.09 MB / 1.029 GB Notification: Performance of SimCode: time 1.092e-06/1.412, allocations: 0 / 1.409 GB, free: 7.09 MB / 1.029 GB Notification: Performance of Templates: time 0.0433/1.455, allocations: 25.25 MB / 1.433 GB, free: 2.262 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=400 -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