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.005093/0.005093, allocations: 102.6 kB / 15.73 MB, free: 6.02 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.001283/0.001283, allocations: 194.7 kB / 16.68 MB, free: 5.941 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.179/2.179, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7191, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1116/0.8307, allocations: 115.2 MB / 1.2 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0366/0.8674, allocations: 26.57 MB / 1.226 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005397/0.8728, allocations: 118.6 kB / 1.226 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003864/0.8767, allocations: 1.144 MB / 1.227 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.8871, allocations: 3.425 MB / 1.23 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006355/0.8935, allocations: 2.354 MB / 1.233 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008456/0.902, allocations: 6.183 MB / 1.239 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003006/0.905, allocations: 1.937 MB / 1.241 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006397/0.9114, allocations: 2.647 MB / 1.243 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.9146, allocations: 1.77 MB / 1.245 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006361/0.9152, allocations: 220 kB / 1.245 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005521/0.9207, allocations: 2.343 MB / 1.247 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007507/0.9215, allocations: 0.5371 MB / 1.248 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.9239, allocations: 1.283 MB / 1.249 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007241/0.9311, allocations: 4.102 MB / 1.253 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.9311, allocations: 0 / 1.253 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9311, allocations: 0 / 1.253 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.193e-05/0.9312, allocations: 0 / 1.253 GB, free: 4.07 MB / 0.9825 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.006363/0.9376, allocations: 2.826 MB / 1.256 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.9377, allocations: 8.031 kB / 1.256 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.9379, allocations: 206.5 kB / 1.256 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007413/0.9387, allocations: 257 kB / 1.256 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/0.9433, allocations: 2.142 MB / 1.259 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.9434, allocations: 98.67 kB / 1.259 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.9437, allocations: 136 kB / 1.259 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.9465, allocations: 1.461 MB / 1.26 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.549e-05/0.9466, allocations: 3.906 kB / 1.26 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.9467, allocations: 60 kB / 1.26 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.953e-05/0.9468, allocations: 35.98 kB / 1.26 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.9491, allocations: 1.025 MB / 1.261 GB, free: 11.62 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.009982/0.9591, allocations: 8.12 MB / 1.269 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.9608, allocations: 0.8372 MB / 1.27 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/0.9614, allocations: 375.8 kB / 1.27 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.9635, allocations: 2.807 MB / 1.273 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.9635, allocations: 43.22 kB / 1.273 GB, free: 14.08 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 3.406e-06/0.9635, allocations: 0 / 1.273 GB, free: 14.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.002569/0.9661, allocations: 1.124 MB / 1.274 GB, free: 12.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.9662, allocations: 71.94 kB / 1.274 GB, free: 12.87 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.9689, allocations: 1.614 MB / 1.276 GB, free: 11.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.969, allocations: 49.7 kB / 1.276 GB, free: 11.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007748/0.9698, allocations: 0.9354 MB / 1.277 GB, free: 10.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.9702, allocations: 303.5 kB / 1.277 GB, free: 9.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.9705, allocations: 230.7 kB / 1.277 GB, free: 9.676 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9707, allocations: 345.9 kB / 1.278 GB, free: 9.332 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.9713, allocations: 329.9 kB / 1.278 GB, free: 9.008 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009322/0.9722, allocations: 0.7072 MB / 1.279 GB, free: 8.133 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.9739, allocations: 1.09 MB / 1.28 GB, free: 6.883 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.9739, allocations: 4 kB / 1.28 GB, free: 6.879 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00253/0.9765, allocations: 1.245 MB / 1.281 GB, free: 5.625 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.9765, allocations: 12.88 kB / 1.281 GB, free: 5.613 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/0.9765, allocations: 15.98 kB / 1.281 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/0.9766, allocations: 24 kB / 1.281 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008175/0.9774, allocations: 267.5 kB / 1.281 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/0.9775, allocations: 23.92 kB / 1.281 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.9787, allocations: 134.6 kB / 1.281 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.9788, allocations: 71.97 kB / 1.282 GB, free: 5.086 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001144/0.98, allocations: 0.6197 MB / 1.282 GB, free: 4.461 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000925/0.9809, allocations: 0.6994 MB / 1.283 GB, free: 3.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001575/0.9825, allocations: 1.077 MB / 1.284 GB, free: 2.355 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.038e-05/0.9825, allocations: 4 kB / 1.284 GB, free: 2.352 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002472/0.985, allocations: 1.249 MB / 1.285 GB, free: 1.098 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.985, allocations: 12 kB / 1.285 GB, free: 1.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/0.9851, allocations: 16 kB / 1.285 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.9851, allocations: 16 kB / 1.285 GB, free: 1.055 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/0.9859, allocations: 255.6 kB / 1.285 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/0.986, allocations: 27.86 kB / 1.285 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.9875, allocations: 103.3 kB / 1.286 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.9877, allocations: 67.97 kB / 1.286 GB, free: 0.6094 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.0003889/0.9881, allocations: 251.8 kB / 1.286 GB, free: 364 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006867/0.9887, allocations: 189.7 kB / 1.286 GB, free: 172 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.9923, allocations: 1.752 MB / 1.288 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/0.9923, allocations: 23.92 kB / 1.288 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.9923, allocations: 0 / 1.288 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001817/0.9942, allocations: 1.142 MB / 1.289 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006038/1, allocations: 3.482 MB / 1.292 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/1, allocations: 12.75 kB / 1.292 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/1.001, allocations: 203.7 kB / 1.292 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/1.001, allocations: 16 kB / 1.292 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/1.001, allocations: 47.97 kB / 1.293 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/1.001, allocations: 11.94 kB / 1.293 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-06/1.001, allocations: 15.88 kB / 1.293 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/1.004, allocations: 2.222 MB / 1.295 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007592/1.005, allocations: 442.1 kB / 1.295 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002965/1.005, allocations: 31.98 kB / 1.295 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008893/1.006, allocations: 43.92 kB / 1.295 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/1.006, allocations: 124.6 kB / 1.295 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.007, allocations: 59.97 kB / 1.295 GB, free: 6.227 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001589/1.008, allocations: 1.091 MB / 1.296 GB, free: 5.113 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.008, allocations: 0 / 1.296 GB, free: 5.113 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002894/1.011, allocations: 1.135 MB / 1.298 GB, free: 3.977 MB / 1.029 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.004874/1.016, allocations: 3.468 MB / 1.301 GB, free: 424 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002841/1.019, allocations: 1.813 MB / 1.303 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.019, allocations: 3.938 kB / 1.303 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/1.02, allocations: 0.8246 MB / 1.304 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/1.024, allocations: 0.971 MB / 1.304 GB, free: 12.74 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.043, allocations: 12.47 MB / 1.317 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.044, allocations: 1.432 MB / 1.318 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001796/1.046, allocations: 0.5478 MB / 1.319 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.047, allocations: 0.8429 MB / 1.319 GB, free: 12.74 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.047, allocations: 4 kB / 1.319 GB, free: 12.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09777/1.144, allocations: 58.76 MB / 1.377 GB, free: 2.676 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.87, allocations: 15.84 kB / 1.377 GB, free: 2.66 MB / 1.107 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