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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001134/0.001134, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0105/0.0105, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.934/2.934, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004306, allocations: 14.05 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.408, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.02/1.428, allocations: 260.2 MB / 1.313 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03545/1.463, allocations: 25.73 MB / 1.338 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005575/1.469, allocations: 79.41 kB / 1.338 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003237/1.472, allocations: 0.6838 MB / 1.339 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01221/1.485, allocations: 3.104 MB / 1.342 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/1.488, allocations: 1.149 MB / 1.343 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00626/1.495, allocations: 4.486 MB / 1.347 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/1.497, allocations: 0.9242 MB / 1.348 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009316/1.506, allocations: 2.984 MB / 1.351 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/1.508, allocations: 0.9317 MB / 1.352 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002018/1.509, allocations: 36.53 kB / 1.352 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009249/1.518, allocations: 3.62 MB / 1.356 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/1.518, allocations: 217.2 kB / 1.356 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.52, allocations: 0.6025 MB / 1.356 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008717/1.528, allocations: 3.264 MB / 1.359 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.529, allocations: 0 / 1.359 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/1.529, allocations: 0 / 1.359 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.918e-05/1.529, allocations: 0 / 1.359 GB, free: 12.4 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.003513/1.532, allocations: 1.524 MB / 1.361 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.532, allocations: 9.406 kB / 1.361 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.534, allocations: 298.1 kB / 1.361 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/1.536, allocations: 1.116 MB / 1.362 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/1.536, allocations: 52.05 kB / 1.362 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-05/1.536, allocations: 61.59 kB / 1.362 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/1.537, allocations: 0.6508 MB / 1.363 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/1.537, allocations: 3.938 kB / 1.363 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/1.537, allocations: 25.09 kB / 1.363 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/1.537, allocations: 21.66 kB / 1.363 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/1.538, allocations: 450.5 kB / 1.364 GB, free: 10.32 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.005127/1.543, allocations: 4.751 MB / 1.368 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/1.544, allocations: 250.5 kB / 1.368 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/1.544, allocations: 139.2 kB / 1.369 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/1.544, allocations: 211.8 kB / 1.369 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/1.544, allocations: 38.91 kB / 1.369 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009144/1.545, allocations: 228.3 kB / 1.369 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 3.817e-06/1.545, allocations: 0 / 1.369 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0009852/1.546, allocations: 362.6 kB / 1.369 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/1.546, allocations: 158.4 kB / 1.37 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/1.548, allocations: 1.16 MB / 1.371 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/1.548, allocations: 28.98 kB / 1.371 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/1.548, allocations: 0.5581 MB / 1.371 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/1.548, allocations: 64.75 kB / 1.371 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/1.548, allocations: 34.3 kB / 1.371 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/1.549, allocations: 320.8 kB / 1.372 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/1.549, allocations: 89.72 kB / 1.372 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/1.549, allocations: 356.9 kB / 1.372 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/1.55, allocations: 419.4 kB / 1.372 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.55, allocations: 3.562 kB / 1.372 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007852/1.55, allocations: 466.1 kB / 1.373 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/1.55, allocations: 293.4 kB / 1.373 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.55, allocations: 6.062 kB / 1.373 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.551, allocations: 11.34 kB / 1.373 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.551, allocations: 89.33 kB / 1.373 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.551, allocations: 12.38 kB / 1.373 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/1.552, allocations: 88.58 kB / 1.373 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/1.552, allocations: 25.58 kB / 1.373 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/1.552, allocations: 4.281 kB / 1.373 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004958/1.552, allocations: 336.4 kB / 1.374 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.552, allocations: 12.61 kB / 1.374 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/1.552, allocations: 9.094 kB / 1.374 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/1.553, allocations: 78.19 kB / 1.374 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.553, allocations: 11.56 kB / 1.374 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000689/1.553, allocations: 83.14 kB / 1.374 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/1.553, allocations: 16.66 kB / 1.374 GB, free: 2.418 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.0003547/1.554, allocations: 355.6 kB / 1.374 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/1.554, allocations: 115 kB / 1.374 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/1.554, allocations: 264.5 kB / 1.375 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.554, allocations: 3.156 kB / 1.375 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.554, allocations: 3.938 kB / 1.375 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.554, allocations: 3 kB / 1.375 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/1.556, allocations: 1.472 MB / 1.376 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.556, allocations: 6.812 kB / 1.376 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/1.556, allocations: 27.67 kB / 1.376 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/1.556, allocations: 6.281 kB / 1.376 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/1.556, allocations: 6.906 kB / 1.376 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.556, allocations: 5.906 kB / 1.376 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.556, allocations: 3.594 kB / 1.376 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/1.557, allocations: 424.7 kB / 1.377 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/1.557, allocations: 240.8 kB / 1.377 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.557, allocations: 6.906 kB / 1.377 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/1.558, allocations: 58.25 kB / 1.377 GB, free: 120 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/1.558, allocations: 16.86 kB / 1.377 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/1.558, allocations: 9.906 kB / 1.377 GB, free: 108 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001249/1.559, allocations: 0.8336 MB / 1.378 GB, free: 15.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.559, allocations: 0 / 1.378 GB, free: 15.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003193/1.562, allocations: 0.7128 MB / 1.378 GB, free: 15.54 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.001906/1.564, allocations: 0.5093 MB / 1.379 GB, free: 15.33 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009023/1.565, allocations: 397.5 kB / 1.379 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.565, allocations: 4 kB / 1.379 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/1.565, allocations: 87.3 kB / 1.379 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.568, allocations: 498.2 kB / 1.38 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.571, allocations: 1.842 MB / 1.382 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/1.571, allocations: 1.038 MB / 1.383 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008883/1.572, allocations: 216 kB / 1.383 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.572, allocations: 80.12 kB / 1.383 GB, free: 12.65 MB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/1.572, allocations: 4 kB / 1.383 GB, free: 12.64 MB / 1.014 GB Notification: Performance of Templates: time 0.04296/1.615, allocations: 24.96 MB / 1.407 GB, free: 12.53 MB / 1.029 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=480 -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