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.0009106/0.0009106, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.626/2.626, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003184, allocations: 15.41 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2941, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.9321/1.226, allocations: 260.3 MB / 1.314 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03203/1.258, allocations: 25.75 MB / 1.339 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004264/1.263, allocations: 84.12 kB / 1.339 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/1.265, allocations: 0.6833 MB / 1.339 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01051/1.276, allocations: 3.096 MB / 1.342 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/1.279, allocations: 1.145 MB / 1.344 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005751/1.285, allocations: 4.486 MB / 1.348 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/1.287, allocations: 0.9411 MB / 1.349 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008971/1.296, allocations: 2.977 MB / 1.352 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/1.298, allocations: 0.9367 MB / 1.353 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/1.298, allocations: 35.62 kB / 1.353 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008453/1.306, allocations: 3.614 MB / 1.356 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003675/1.307, allocations: 216.3 kB / 1.356 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/1.308, allocations: 0.6057 MB / 1.357 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004628/1.313, allocations: 2.436 MB / 1.359 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.313, allocations: 3.328 kB / 1.359 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.537e-06/1.313, allocations: 0 / 1.359 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.586e-05/1.313, allocations: 2.906 kB / 1.359 GB, free: 12.46 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.003607/1.316, allocations: 1.525 MB / 1.361 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.316, allocations: 12.53 kB / 1.361 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/1.318, allocations: 298.2 kB / 1.361 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/1.32, allocations: 1.116 MB / 1.362 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/1.32, allocations: 51.09 kB / 1.362 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/1.32, allocations: 65.28 kB / 1.362 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/1.321, allocations: 0.6455 MB / 1.363 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/1.321, allocations: 8.625 kB / 1.363 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/1.321, allocations: 25.62 kB / 1.363 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/1.321, allocations: 14 kB / 1.363 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/1.322, allocations: 458.6 kB / 1.364 GB, free: 10.47 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.003586/1.326, allocations: 4.732 MB / 1.368 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/1.326, allocations: 252.4 kB / 1.368 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/1.326, allocations: 148.1 kB / 1.369 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/1.326, allocations: 212.1 kB / 1.369 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/1.326, allocations: 40.44 kB / 1.369 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006142/1.327, allocations: 228.6 kB / 1.369 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/1.327, allocations: 0 / 1.369 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008158/1.328, allocations: 349.9 kB / 1.369 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.328, allocations: 165 kB / 1.37 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/1.329, allocations: 1.159 MB / 1.371 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/1.329, allocations: 34.83 kB / 1.371 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/1.33, allocations: 0.5598 MB / 1.371 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/1.33, allocations: 59.06 kB / 1.371 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/1.33, allocations: 31.39 kB / 1.371 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.764e-05/1.33, allocations: 323.7 kB / 1.372 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/1.33, allocations: 90.91 kB / 1.372 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/1.33, allocations: 364.3 kB / 1.372 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/1.331, allocations: 410.2 kB / 1.372 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.331, allocations: 2.938 kB / 1.372 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007323/1.332, allocations: 476.2 kB / 1.373 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.332, allocations: 295.8 kB / 1.373 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.332, allocations: 11.94 kB / 1.373 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.332, allocations: 8.719 kB / 1.373 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/1.332, allocations: 87.12 kB / 1.373 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.332, allocations: 14.41 kB / 1.373 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/1.333, allocations: 85.64 kB / 1.373 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/1.333, allocations: 28.81 kB / 1.373 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/1.333, allocations: 2.844 kB / 1.373 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004772/1.333, allocations: 327 kB / 1.374 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.333, allocations: 8.031 kB / 1.374 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.762e-06/1.333, allocations: 12.66 kB / 1.374 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/1.334, allocations: 85.45 kB / 1.374 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.334, allocations: 13.88 kB / 1.374 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/1.334, allocations: 71.42 kB / 1.374 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/1.334, allocations: 21.19 kB / 1.374 GB, free: 2.785 MB / 0.9981 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.0003203/1.335, allocations: 361.6 kB / 1.374 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/1.335, allocations: 110.6 kB / 1.374 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/1.335, allocations: 256.4 kB / 1.375 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.335, allocations: 3.188 kB / 1.375 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.335, allocations: 7.531 kB / 1.375 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.335, allocations: 128 / 1.375 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/1.337, allocations: 1.478 MB / 1.376 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.337, allocations: 0 / 1.376 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/1.337, allocations: 36.5 kB / 1.376 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.337, allocations: 6.969 kB / 1.376 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.337, allocations: 7.094 kB / 1.376 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.337, allocations: 11.5 kB / 1.376 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.337, allocations: 1.906 kB / 1.376 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/1.337, allocations: 420.2 kB / 1.377 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/1.338, allocations: 247.6 kB / 1.377 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/1.338, allocations: 6.938 kB / 1.377 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/1.338, allocations: 62.47 kB / 1.377 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/1.338, allocations: 9.828 kB / 1.377 GB, free: 484 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/1.338, allocations: 12.09 kB / 1.377 GB, free: 480 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001075/1.34, allocations: 0.8337 MB / 1.378 GB, free: 4 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.34, allocations: 4 kB / 1.378 GB, free: 0 / 0.9981 GB Notification: Performance of remove unused functions: time 0.002781/1.342, allocations: 0.7136 MB / 1.378 GB, free: 15.9 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.001919/1.344, allocations: 0.5032 MB / 1.379 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000801/1.345, allocations: 396.2 kB / 1.379 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.345, allocations: 0 / 1.379 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/1.345, allocations: 86.27 kB / 1.379 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/1.348, allocations: 499.5 kB / 1.38 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/1.35, allocations: 1.886 MB / 1.382 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/1.351, allocations: 1.035 MB / 1.383 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/1.351, allocations: 83.8 kB / 1.383 GB, free: 13.1 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.351, allocations: 0 / 1.383 GB, free: 13.1 MB / 1.014 GB Notification: Performance of Templates: time 0.03694/1.388, allocations: 21.28 MB / 1.404 GB, free: 0.7188 MB / 1.014 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