Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001728/0.001729, allocations: 100.9 kB / 16.27 MB, free: 5.977 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.001801/0.001801, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.435/1.435, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437.1 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001916, allocations: 72.72 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3375, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.8225/1.16, allocations: 265.6 MB / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03635/1.196, allocations: 24.33 MB / 1.301 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/1.2, allocations: 91.44 kB / 1.301 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002824/1.203, allocations: 0.8425 MB / 1.302 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/1.213, allocations: 3.542 MB / 1.306 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/1.217, allocations: 1.237 MB / 1.307 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005238/1.222, allocations: 3.234 MB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/1.224, allocations: 1.159 MB / 1.311 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008628/1.233, allocations: 3.334 MB / 1.314 GB, free: 9.691 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/1.235, allocations: 0.9333 MB / 1.315 GB, free: 8.754 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002206/1.235, allocations: 88 kB / 1.315 GB, free: 8.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007905/1.243, allocations: 3.686 MB / 1.319 GB, free: 4.977 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004519/1.243, allocations: 266.9 kB / 1.319 GB, free: 4.715 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/1.244, allocations: 0.6374 MB / 1.32 GB, free: 4.074 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006699/1.251, allocations: 3.335 MB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.251, allocations: 4 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.406e-06/1.251, allocations: 0 / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.201e-05/1.251, allocations: 7.938 kB / 1.323 GB, free: 0.7188 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.003499/1.255, allocations: 1.732 MB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.255, allocations: 12.02 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/1.257, allocations: 294.1 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/1.259, allocations: 1.116 MB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/1.259, allocations: 53.19 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-05/1.259, allocations: 60 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.26, allocations: 0.6799 MB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/1.26, allocations: 3.938 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/1.26, allocations: 27.94 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/1.26, allocations: 16 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/1.261, allocations: 428.8 kB / 1.327 GB, free: 12.14 MB / 1.029 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.006126/1.267, allocations: 5.379 MB / 1.333 GB, free: 6.215 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/1.268, allocations: 205.1 kB / 1.333 GB, free: 5.969 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/1.268, allocations: 108.2 kB / 1.333 GB, free: 5.848 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/1.268, allocations: 210.2 kB / 1.333 GB, free: 5.605 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.268, allocations: 34.56 kB / 1.333 GB, free: 5.562 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004707/1.269, allocations: 63.64 kB / 1.333 GB, free: 5.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 2.936e-06/1.269, allocations: 0 / 1.333 GB, free: 5.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0009357/1.27, allocations: 340 kB / 1.333 GB, free: 5.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/1.27, allocations: 158.7 kB / 1.334 GB, free: 4.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/1.272, allocations: 1.175 MB / 1.335 GB, free: 3.785 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/1.272, allocations: 33.7 kB / 1.335 GB, free: 3.746 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/1.272, allocations: 0.5738 MB / 1.335 GB, free: 3.168 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/1.272, allocations: 51.3 kB / 1.335 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/1.272, allocations: 89.59 kB / 1.336 GB, free: 3.023 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.273, allocations: 321.9 kB / 1.336 GB, free: 2.703 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/1.273, allocations: 104.6 kB / 1.336 GB, free: 2.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/1.273, allocations: 386.9 kB / 1.336 GB, free: 2.086 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/1.274, allocations: 449.5 kB / 1.337 GB, free: 1.539 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.274, allocations: 0 / 1.337 GB, free: 1.539 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009276/1.275, allocations: 496.8 kB / 1.337 GB, free: 1.047 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.275, allocations: 8 kB / 1.337 GB, free: 1.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.275, allocations: 8.812 kB / 1.337 GB, free: 1.031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.275, allocations: 15.94 kB / 1.337 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/1.275, allocations: 91.83 kB / 1.337 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/1.275, allocations: 16.3 kB / 1.337 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/1.276, allocations: 47.89 kB / 1.337 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/1.276, allocations: 24 kB / 1.337 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004658/1.276, allocations: 312 kB / 1.338 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004337/1.277, allocations: 384 kB / 1.338 GB, free: 16 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005989/1.278, allocations: 443 kB / 1.338 GB, free: 15.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-06/1.278, allocations: 4 kB / 1.338 GB, free: 15.47 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008897/1.278, allocations: 484.2 kB / 1.339 GB, free: 14.99 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.278, allocations: 8 kB / 1.339 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.278, allocations: 11.94 kB / 1.339 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/1.278, allocations: 8 kB / 1.339 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/1.279, allocations: 87.89 kB / 1.339 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.279, allocations: 16.38 kB / 1.339 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/1.279, allocations: 51.95 kB / 1.339 GB, free: 14.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/1.279, allocations: 24.14 kB / 1.339 GB, free: 14.79 MB / 1.045 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.0001647/1.28, allocations: 216 kB / 1.339 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/1.28, allocations: 110.6 kB / 1.339 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/1.281, allocations: 261.5 kB / 1.34 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.281, allocations: 4 kB / 1.34 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.281, allocations: 0 / 1.34 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.281, allocations: 7.938 kB / 1.34 GB, free: 14.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/1.282, allocations: 1.215 MB / 1.341 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.282, allocations: 7.984 kB / 1.341 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/1.282, allocations: 23.98 kB / 1.341 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/1.282, allocations: 3.938 kB / 1.341 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.282, allocations: 4 kB / 1.341 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.282, allocations: 0 / 1.341 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.282, allocations: 3.938 kB / 1.341 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/1.283, allocations: 318 kB / 1.341 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/1.283, allocations: 223.7 kB / 1.341 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/1.283, allocations: 4 kB / 1.341 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/1.284, allocations: 31.95 kB / 1.341 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/1.284, allocations: 7.938 kB / 1.341 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/1.284, allocations: 4 kB / 1.341 GB, free: 12.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001337/1.285, allocations: 0.8491 MB / 1.342 GB, free: 11.38 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.91e-07/1.285, allocations: 0 / 1.342 GB, free: 11.38 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001918/1.287, allocations: 0.7101 MB / 1.343 GB, free: 10.66 MB / 1.045 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.001652/1.289, allocations: 0.5137 MB / 1.344 GB, free: 10.15 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008711/1.29, allocations: 410.7 kB / 1.344 GB, free: 9.754 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.29, allocations: 4 kB / 1.344 GB, free: 9.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/1.29, allocations: 59.91 kB / 1.344 GB, free: 9.691 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/1.292, allocations: 0.5012 MB / 1.344 GB, free: 9.211 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/1.294, allocations: 1.54 MB / 1.346 GB, free: 7.621 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/1.295, allocations: 1.04 MB / 1.347 GB, free: 6.551 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/1.295, allocations: 79.42 kB / 1.347 GB, free: 6.473 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/1.295, allocations: 0 / 1.347 GB, free: 6.473 MB / 1.045 GB Notification: Performance of Templates: time 0.03456/1.33, allocations: 21.66 MB / 1.368 GB, free: 0.9609 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches