Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004817/0.004817, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001299/0.001299, allocations: 194 kB / 16.67 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 59.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/0.7792, allocations: 159.1 MB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1198/0.8991, allocations: 115.2 MB / 1.333 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03828/0.9374, allocations: 26.55 MB / 1.359 GB, free: 3.809 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003901/0.9413, allocations: 115.4 kB / 1.359 GB, free: 3.695 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.9446, allocations: 1.145 MB / 1.36 GB, free: 2.543 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009048/0.9536, allocations: 3.43 MB / 1.363 GB, free: 15.1 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006109/0.9598, allocations: 2.35 MB / 1.365 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008776/0.9686, allocations: 6.182 MB / 1.371 GB, free: 6.551 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.9715, allocations: 1.932 MB / 1.373 GB, free: 4.59 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006184/0.9777, allocations: 2.653 MB / 1.376 GB, free: 1.934 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.9808, allocations: 1.766 MB / 1.378 GB, free: 164 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004656/0.9813, allocations: 224 kB / 1.378 GB, free: 15.94 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005339/0.9867, allocations: 2.347 MB / 1.38 GB, free: 13.59 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007036/0.9874, allocations: 0.5409 MB / 1.381 GB, free: 13.05 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002144/0.9896, allocations: 1.287 MB / 1.382 GB, free: 11.75 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007688/0.9973, allocations: 4.111 MB / 1.386 GB, free: 7.629 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9973, allocations: 0 / 1.386 GB, free: 7.629 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9973, allocations: 0 / 1.386 GB, free: 7.629 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.822e-05/0.9974, allocations: 0 / 1.386 GB, free: 7.629 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005759/1.003, allocations: 2.916 MB / 1.389 GB, free: 4.648 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.003, allocations: 8.031 kB / 1.389 GB, free: 4.641 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002616/1.003, allocations: 198.6 kB / 1.389 GB, free: 4.438 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/1.004, allocations: 270.4 kB / 1.389 GB, free: 4.172 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/1.009, allocations: 2.159 MB / 1.391 GB, free: 1.961 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/1.009, allocations: 106.7 kB / 1.391 GB, free: 1.855 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/1.009, allocations: 143.9 kB / 1.392 GB, free: 1.715 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/1.012, allocations: 1.454 MB / 1.393 GB, free: 188 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/1.012, allocations: 7.938 kB / 1.393 GB, free: 180 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/1.012, allocations: 56 kB / 1.393 GB, free: 124 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/1.012, allocations: 36 kB / 1.393 GB, free: 88 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/1.014, allocations: 1.025 MB / 1.394 GB, free: 15.05 MB / 1.123 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.009986/1.024, allocations: 8.138 MB / 1.402 GB, free: 6.219 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.026, allocations: 0.8425 MB / 1.403 GB, free: 5.355 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/1.026, allocations: 378.8 kB / 1.403 GB, free: 4.988 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002377/1.029, allocations: 2.807 MB / 1.406 GB, free: 1.555 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.029, allocations: 43.22 kB / 1.406 GB, free: 1.5 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 3.246e-06/1.029, allocations: 3.938 kB / 1.406 GB, free: 1.496 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.002886/1.032, allocations: 1.137 MB / 1.407 GB, free: 368 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/1.032, allocations: 68 kB / 1.407 GB, free: 288 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/1.035, allocations: 1.618 MB / 1.409 GB, free: 14.62 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/1.035, allocations: 41.7 kB / 1.409 GB, free: 14.57 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009512/1.036, allocations: 0.9451 MB / 1.41 GB, free: 13.62 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/1.036, allocations: 325.2 kB / 1.41 GB, free: 13.3 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/1.036, allocations: 230.8 kB / 1.41 GB, free: 13.07 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.037, allocations: 349.9 kB / 1.411 GB, free: 12.72 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/1.037, allocations: 329.9 kB / 1.411 GB, free: 12.39 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/1.038, allocations: 0.715 MB / 1.412 GB, free: 11.5 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/1.04, allocations: 1.077 MB / 1.413 GB, free: 10.27 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.04, allocations: 4 kB / 1.413 GB, free: 10.26 MB / 1.139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002696/1.043, allocations: 1.262 MB / 1.414 GB, free: 8.996 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.043, allocations: 8 kB / 1.414 GB, free: 8.988 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.15e-05/1.043, allocations: 16 kB / 1.414 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/1.043, allocations: 16 kB / 1.414 GB, free: 8.957 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/1.044, allocations: 271.5 kB / 1.414 GB, free: 8.691 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.774e-05/1.044, allocations: 19.94 kB / 1.414 GB, free: 8.672 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.045, allocations: 147.1 kB / 1.414 GB, free: 8.527 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.045, allocations: 59.98 kB / 1.414 GB, free: 8.469 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001238/1.047, allocations: 0.6236 MB / 1.415 GB, free: 7.84 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009658/1.048, allocations: 0.6994 MB / 1.416 GB, free: 6.973 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001681/1.049, allocations: 1.085 MB / 1.417 GB, free: 5.727 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.226e-06/1.049, allocations: 4 kB / 1.417 GB, free: 5.723 MB / 1.139 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002487/1.052, allocations: 1.25 MB / 1.418 GB, free: 4.465 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.052, allocations: 11.98 kB / 1.418 GB, free: 4.453 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/1.052, allocations: 16 kB / 1.418 GB, free: 4.438 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.052, allocations: 19.94 kB / 1.418 GB, free: 4.418 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/1.053, allocations: 264 kB / 1.418 GB, free: 4.16 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/1.053, allocations: 35.86 kB / 1.418 GB, free: 4.125 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.054, allocations: 99.44 kB / 1.418 GB, free: 4.027 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.054, allocations: 63.97 kB / 1.419 GB, free: 3.965 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003291/1.054, allocations: 255 kB / 1.419 GB, free: 3.711 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/1.055, allocations: 198.7 kB / 1.419 GB, free: 3.516 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/1.058, allocations: 1.742 MB / 1.421 GB, free: 1.766 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.352e-05/1.058, allocations: 23.92 kB / 1.421 GB, free: 1.742 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.058, allocations: 4 kB / 1.421 GB, free: 1.738 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001876/1.06, allocations: 1.146 MB / 1.422 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005783/1.066, allocations: 3.491 MB / 1.425 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/1.066, allocations: 12 kB / 1.425 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00076/1.067, allocations: 203.7 kB / 1.425 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/1.067, allocations: 12 kB / 1.425 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.207e-05/1.067, allocations: 39.98 kB / 1.425 GB, free: 12.64 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/1.067, allocations: 15.98 kB / 1.425 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/1.067, allocations: 15.88 kB / 1.425 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/1.07, allocations: 2.239 MB / 1.428 GB, free: 10.27 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008108/1.071, allocations: 447.2 kB / 1.428 GB, free: 9.816 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/1.071, allocations: 28 kB / 1.428 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/1.072, allocations: 47.91 kB / 1.428 GB, free: 9.742 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/1.073, allocations: 120.7 kB / 1.428 GB, free: 9.621 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.073, allocations: 63.97 kB / 1.428 GB, free: 9.559 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001699/1.074, allocations: 1.087 MB / 1.429 GB, free: 8.449 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.074, allocations: 0 / 1.429 GB, free: 8.449 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002953/1.077, allocations: 1.142 MB / 1.431 GB, free: 7.305 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.005294/1.083, allocations: 3.495 MB / 1.434 GB, free: 3.715 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003179/1.086, allocations: 1.812 MB / 1.436 GB, free: 1.859 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.954e-06/1.086, allocations: 4 kB / 1.436 GB, free: 1.855 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/1.087, allocations: 0.819 MB / 1.437 GB, free: 1.012 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/1.091, allocations: 0.9644 MB / 1.437 GB, free: 60 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/1.111, allocations: 12.55 MB / 1.45 GB, free: 2.836 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.112, allocations: 1.436 MB / 1.451 GB, free: 1.363 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001802/1.114, allocations: 0.5418 MB / 1.452 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.115, allocations: 0.8546 MB / 1.452 GB, free: 15.96 MB / 1.186 GB Notification: Performance of SimCode: time 5.71e-07/1.115, allocations: 0 / 1.452 GB, free: 15.96 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/1.225, allocations: 58.77 MB / 1.51 GB, free: 5.887 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.61, allocations: 8.531 kB / 1.51 GB, free: 5.879 MB / 1.232 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_11_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches