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.001601/0.001601, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001533/0.001533, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 70.77 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2968, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.7674/1.064, allocations: 265.6 MB / 1.286 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03357/1.098, allocations: 24.33 MB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003992/1.102, allocations: 91.44 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/1.105, allocations: 0.8503 MB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00948/1.114, allocations: 3.528 MB / 1.314 GB, free: 6.758 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/1.117, allocations: 1.258 MB / 1.315 GB, free: 5.512 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004555/1.122, allocations: 3.241 MB / 1.319 GB, free: 2.262 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/1.124, allocations: 1.173 MB / 1.32 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007583/1.131, allocations: 3.33 MB / 1.323 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/1.133, allocations: 0.9295 MB / 1.324 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/1.133, allocations: 88 kB / 1.324 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0073/1.14, allocations: 3.768 MB / 1.328 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003901/1.141, allocations: 262.9 kB / 1.328 GB, free: 8.664 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/1.142, allocations: 0.6373 MB / 1.329 GB, free: 8.023 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006321/1.148, allocations: 3.363 MB / 1.332 GB, free: 4.652 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.148, allocations: 0 / 1.332 GB, free: 4.652 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.254e-06/1.148, allocations: 4 kB / 1.332 GB, free: 4.648 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.903e-05/1.148, allocations: 0 / 1.332 GB, free: 4.648 MB / 1.029 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.003056/1.151, allocations: 1.744 MB / 1.334 GB, free: 2.852 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.151, allocations: 8.031 kB / 1.334 GB, free: 2.844 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/1.153, allocations: 290.1 kB / 1.334 GB, free: 2.559 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/1.156, allocations: 1.178 MB / 1.335 GB, free: 1.324 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/1.156, allocations: 53.25 kB / 1.335 GB, free: 1.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-05/1.156, allocations: 56 kB / 1.335 GB, free: 1.215 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/1.157, allocations: 0.6761 MB / 1.336 GB, free: 488 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/1.157, allocations: 0 / 1.336 GB, free: 488 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/1.157, allocations: 27.94 kB / 1.336 GB, free: 460 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/1.157, allocations: 16 kB / 1.336 GB, free: 444 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/1.158, allocations: 428.8 kB / 1.336 GB, free: 16 kB / 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.004762/1.162, allocations: 5.359 MB / 1.341 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/1.163, allocations: 201 kB / 1.342 GB, free: 9.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/1.163, allocations: 112.2 kB / 1.342 GB, free: 9.754 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/1.163, allocations: 202.2 kB / 1.342 GB, free: 9.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.163, allocations: 50.48 kB / 1.342 GB, free: 9.461 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004481/1.164, allocations: 47.67 kB / 1.342 GB, free: 9.414 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/1.164, allocations: 4 kB / 1.342 GB, free: 9.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0009064/1.165, allocations: 352.3 kB / 1.342 GB, free: 9.059 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/1.165, allocations: 154.2 kB / 1.343 GB, free: 8.871 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/1.166, allocations: 1.171 MB / 1.344 GB, free: 7.691 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/1.166, allocations: 33.69 kB / 1.344 GB, free: 7.652 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/1.167, allocations: 0.57 MB / 1.344 GB, free: 7.078 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/1.167, allocations: 55.34 kB / 1.344 GB, free: 7.023 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.167, allocations: 97.5 kB / 1.344 GB, free: 6.922 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.167, allocations: 321.9 kB / 1.345 GB, free: 6.602 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/1.167, allocations: 92.8 kB / 1.345 GB, free: 6.508 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/1.168, allocations: 398.5 kB / 1.345 GB, free: 5.984 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/1.168, allocations: 446.5 kB / 1.346 GB, free: 5.441 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.168, allocations: 4 kB / 1.346 GB, free: 5.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009177/1.169, allocations: 0.4899 MB / 1.346 GB, free: 4.941 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.169, allocations: 8 kB / 1.346 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.169, allocations: 8 kB / 1.346 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/1.169, allocations: 8 kB / 1.346 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/1.17, allocations: 87.83 kB / 1.346 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/1.17, allocations: 15.94 kB / 1.346 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/1.17, allocations: 52.05 kB / 1.346 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/1.17, allocations: 27.98 kB / 1.346 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004372/1.171, allocations: 312 kB / 1.347 GB, free: 4.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003527/1.171, allocations: 380.1 kB / 1.347 GB, free: 3.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005266/1.172, allocations: 441.6 kB / 1.347 GB, free: 3.379 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/1.172, allocations: 0 / 1.347 GB, free: 3.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008409/1.173, allocations: 488.4 kB / 1.348 GB, free: 2.895 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.173, allocations: 8 kB / 1.348 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.173, allocations: 12.09 kB / 1.348 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/1.173, allocations: 12 kB / 1.348 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/1.173, allocations: 87.83 kB / 1.348 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.173, allocations: 11.94 kB / 1.348 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/1.174, allocations: 47.95 kB / 1.348 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/1.174, allocations: 20 kB / 1.348 GB, free: 2.699 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.0001482/1.174, allocations: 227.9 kB / 1.348 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/1.174, allocations: 115 kB / 1.348 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005401/1.175, allocations: 245.6 kB / 1.349 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.175, allocations: 4 kB / 1.349 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/1.175, allocations: 0 / 1.349 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.175, allocations: 11.88 kB / 1.349 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/1.176, allocations: 1.215 MB / 1.35 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.176, allocations: 0 / 1.35 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/1.177, allocations: 31.91 kB / 1.35 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.177, allocations: 7.938 kB / 1.35 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.177, allocations: 0 / 1.35 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.177, allocations: 4 kB / 1.35 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.177, allocations: 4.125 kB / 1.35 GB, free: 0.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/1.177, allocations: 313.9 kB / 1.35 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/1.177, allocations: 231.7 kB / 1.35 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/1.178, allocations: 4 kB / 1.35 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/1.178, allocations: 27.97 kB / 1.35 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/1.178, allocations: 7.984 kB / 1.35 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/1.178, allocations: 4 kB / 1.35 GB, free: 128 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001289/1.18, allocations: 0.853 MB / 1.351 GB, free: 15.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.1e-07/1.18, allocations: 0 / 1.351 GB, free: 15.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001862/1.181, allocations: 0.7023 MB / 1.352 GB, free: 14.57 MB / 1.061 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.001688/1.183, allocations: 0.5112 MB / 1.352 GB, free: 14.06 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008705/1.184, allocations: 407.2 kB / 1.353 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.184, allocations: 0 / 1.353 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/1.184, allocations: 68.36 kB / 1.353 GB, free: 13.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.186, allocations: 0.5069 MB / 1.353 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/1.188, allocations: 1.458 MB / 1.355 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/1.189, allocations: 1.04 MB / 1.356 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007178/1.19, allocations: 215.9 kB / 1.356 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/1.19, allocations: 75.42 kB / 1.356 GB, free: 10.25 MB / 1.061 GB Notification: Performance of SimCode: time 8.42e-07/1.19, allocations: 0 / 1.356 GB, free: 10.25 MB / 1.061 GB Notification: Performance of Templates: time 0.03982/1.23, allocations: 25.68 MB / 1.381 GB, free: 0.793 MB / 1.076 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 -s cvode -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