Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_9_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.007529/0.007529, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.002004/0.002004, allocations: 193.8 kB / 16.67 MB, free: 6.352 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.61 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2408, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1098/0.3506, allocations: 115.2 MB / 1.2 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0369/0.3876, allocations: 26.57 MB / 1.226 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003736/0.3913, allocations: 115.4 kB / 1.226 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003294/0.3947, allocations: 1.164 MB / 1.227 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009144/0.4039, allocations: 3.591 MB / 1.231 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006596/0.4105, allocations: 2.371 MB / 1.233 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008342/0.4188, allocations: 6.208 MB / 1.239 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.4223, allocations: 1.929 MB / 1.241 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006502/0.4289, allocations: 2.693 MB / 1.244 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.432, allocations: 1.766 MB / 1.245 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007597/0.4328, allocations: 224 kB / 1.245 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.4384, allocations: 2.351 MB / 1.248 GB, free: 13.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009478/0.4394, allocations: 0.5332 MB / 1.248 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002444/0.4418, allocations: 1.291 MB / 1.25 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00908/0.4509, allocations: 4.107 MB / 1.254 GB, free: 7.355 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.451, allocations: 3.938 kB / 1.254 GB, free: 7.352 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.923e-06/0.451, allocations: 0 / 1.254 GB, free: 7.352 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001064/0.4511, allocations: 0 / 1.254 GB, free: 7.352 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006485/0.4576, allocations: 2.916 MB / 1.256 GB, free: 4.371 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4576, allocations: 8.031 kB / 1.256 GB, free: 4.363 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002885/0.4579, allocations: 194.6 kB / 1.257 GB, free: 4.164 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007341/0.4587, allocations: 274.3 kB / 1.257 GB, free: 3.895 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/0.4632, allocations: 2.167 MB / 1.259 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.4633, allocations: 98.67 kB / 1.259 GB, free: 1.578 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.4635, allocations: 144 kB / 1.259 GB, free: 1.438 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4857/0.9492, allocations: 1.452 MB / 1.261 GB, free: 168.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.414e-05/0.9493, allocations: 1.719 kB / 1.261 GB, free: 168.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.9495, allocations: 55.66 kB / 1.261 GB, free: 168.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.234e-05/0.9496, allocations: 34.12 kB / 1.261 GB, free: 168.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.9518, allocations: 1.026 MB / 1.262 GB, free: 168.4 MB / 1.014 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.008353/0.9601, allocations: 8.139 MB / 1.27 GB, free: 162.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.9617, allocations: 0.8323 MB / 1.27 GB, free: 162.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.9623, allocations: 374.9 kB / 1.271 GB, free: 162.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/0.9638, allocations: 2.807 MB / 1.274 GB, free: 158.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.9638, allocations: 43.41 kB / 1.274 GB, free: 158.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 3.216e-06/0.9639, allocations: 0.6562 kB / 1.274 GB, free: 158.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.002624/0.9665, allocations: 1.137 MB / 1.275 GB, free: 158.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.9665, allocations: 63.56 kB / 1.275 GB, free: 158.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.969, allocations: 1.622 MB / 1.276 GB, free: 157.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/0.9691, allocations: 42.67 kB / 1.276 GB, free: 157.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006626/0.9698, allocations: 0.9517 MB / 1.277 GB, free: 157 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.97, allocations: 318.2 kB / 1.278 GB, free: 156.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000391/0.9704, allocations: 229.4 kB / 1.278 GB, free: 156.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.9705, allocations: 353.2 kB / 1.278 GB, free: 156.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007129/0.9712, allocations: 329.9 kB / 1.279 GB, free: 156.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009383/0.9722, allocations: 0.7096 MB / 1.279 GB, free: 155.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.9739, allocations: 1.083 MB / 1.28 GB, free: 154.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.9739, allocations: 3.469 kB / 1.28 GB, free: 154.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002351/0.9763, allocations: 1.254 MB / 1.282 GB, free: 154.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.9763, allocations: 12.58 kB / 1.282 GB, free: 154.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/0.9763, allocations: 21.16 kB / 1.282 GB, free: 154.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.9764, allocations: 22.02 kB / 1.282 GB, free: 154.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/0.9772, allocations: 265.3 kB / 1.282 GB, free: 154.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/0.9772, allocations: 24.03 kB / 1.282 GB, free: 154.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.9784, allocations: 135.3 kB / 1.282 GB, free: 154.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.9785, allocations: 69.64 kB / 1.282 GB, free: 154.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/0.9795, allocations: 0.6242 MB / 1.283 GB, free: 153.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000887/0.9804, allocations: 0.6999 MB / 1.283 GB, free: 153.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001552/0.982, allocations: 1.085 MB / 1.284 GB, free: 152.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.883e-06/0.982, allocations: 3.219 kB / 1.284 GB, free: 152.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002231/0.9843, allocations: 1.251 MB / 1.286 GB, free: 152.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.9843, allocations: 10.66 kB / 1.286 GB, free: 152.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.9843, allocations: 17.98 kB / 1.286 GB, free: 152.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.9843, allocations: 21.48 kB / 1.286 GB, free: 152.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008159/0.9852, allocations: 262.4 kB / 1.286 GB, free: 152 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.9852, allocations: 25.27 kB / 1.286 GB, free: 152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.9863, allocations: 107.6 kB / 1.286 GB, free: 152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.9864, allocations: 63.41 kB / 1.286 GB, free: 152 MB / 1.014 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.0002924/0.9867, allocations: 256.4 kB / 1.286 GB, free: 151.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.987, allocations: 199.6 kB / 1.287 GB, free: 151.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.9901, allocations: 1.741 MB / 1.288 GB, free: 151 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/0.9901, allocations: 25.19 kB / 1.288 GB, free: 151 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.9901, allocations: 0.5625 kB / 1.288 GB, free: 151 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/0.9918, allocations: 1.152 MB / 1.289 GB, free: 150.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.9972, allocations: 3.489 MB / 1.293 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/0.9972, allocations: 12.23 kB / 1.293 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.9979, allocations: 201.2 kB / 1.293 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.998, allocations: 10.59 kB / 1.293 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.456e-05/0.998, allocations: 45.89 kB / 1.293 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.354e-05/0.9981, allocations: 15.8 kB / 1.293 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.9981, allocations: 12.66 kB / 1.293 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/1.001, allocations: 2.238 MB / 1.295 GB, free: 147.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007199/1.002, allocations: 443.8 kB / 1.296 GB, free: 147.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/1.002, allocations: 34.28 kB / 1.296 GB, free: 147.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008802/1.003, allocations: 48.64 kB / 1.296 GB, free: 147.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.003, allocations: 116.6 kB / 1.296 GB, free: 147.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.003, allocations: 59.28 kB / 1.296 GB, free: 147.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001603/1.005, allocations: 1.086 MB / 1.297 GB, free: 146.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.005, allocations: 3.406 kB / 1.297 GB, free: 146.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002873/1.008, allocations: 1.147 MB / 1.298 GB, free: 146.6 MB / 1.014 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.004535/1.012, allocations: 3.491 MB / 1.302 GB, free: 144.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002888/1.015, allocations: 1.81 MB / 1.303 GB, free: 144 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.015, allocations: 1.281 kB / 1.303 GB, free: 144 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.016, allocations: 0.8231 MB / 1.304 GB, free: 143.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004341/1.021, allocations: 0.965 MB / 1.305 GB, free: 143.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.038, allocations: 12.55 MB / 1.317 GB, free: 136.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/1.039, allocations: 1.437 MB / 1.319 GB, free: 135.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001908/1.041, allocations: 0.5407 MB / 1.319 GB, free: 135.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008817/1.042, allocations: 0.853 MB / 1.32 GB, free: 134.5 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/1.042, allocations: 0 / 1.32 GB, free: 134.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07673/1.118, allocations: 58.78 MB / 1.377 GB, free: 77.15 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/13.1, allocations: 0 / 1.377 GB, free: 77.15 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches