Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_10_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.007513/0.007513, allocations: 98.92 kB / 15.73 MB, free: 6.055 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.002045/0.002045, allocations: 202.2 kB / 16.68 MB, free: 5.977 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 437.1 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2789, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.6951/0.9741, allocations: 115.2 MB / 1.279 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03179/1.006, allocations: 26.55 MB / 1.305 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004804/1.011, allocations: 114.7 kB / 1.305 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003238/1.014, allocations: 1.18 MB / 1.306 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/1.025, allocations: 3.585 MB / 1.309 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008054/1.033, allocations: 2.38 MB / 1.312 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01022/1.043, allocations: 6.201 MB / 1.318 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003451/1.046, allocations: 1.922 MB / 1.32 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006984/1.053, allocations: 2.7 MB / 1.322 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004045/1.057, allocations: 1.772 MB / 1.324 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006311/1.058, allocations: 219.3 kB / 1.324 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007062/1.065, allocations: 2.347 MB / 1.326 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008394/1.066, allocations: 0.5356 MB / 1.327 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002376/1.068, allocations: 1.281 MB / 1.328 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008439/1.077, allocations: 4.117 MB / 1.332 GB, free: 11.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.077, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/1.077, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.504e-05/1.077, allocations: 0 / 1.332 GB, free: 11.73 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.00631/1.083, allocations: 2.91 MB / 1.335 GB, free: 9.895 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/1.083, allocations: 9.25 kB / 1.335 GB, free: 9.895 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/1.084, allocations: 203 kB / 1.335 GB, free: 9.762 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007978/1.084, allocations: 272.2 kB / 1.336 GB, free: 9.625 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004856/1.089, allocations: 2.153 MB / 1.338 GB, free: 8.465 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/1.089, allocations: 106 kB / 1.338 GB, free: 8.414 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/1.09, allocations: 139.8 kB / 1.338 GB, free: 8.367 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/1.092, allocations: 1.451 MB / 1.339 GB, free: 7.676 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/1.092, allocations: 6.766 kB / 1.339 GB, free: 7.672 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/1.092, allocations: 68.27 kB / 1.339 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/1.092, allocations: 43.03 kB / 1.339 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/1.094, allocations: 1.015 MB / 1.34 GB, free: 7.242 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.009924/1.104, allocations: 8.141 MB / 1.348 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.106, allocations: 0.836 MB / 1.349 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000636/1.107, allocations: 381.5 kB / 1.35 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002143/1.109, allocations: 2.801 MB / 1.352 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/1.109, allocations: 46.64 kB / 1.352 GB, free: 12.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=85): time 3.196e-06/1.109, allocations: 1.25 kB / 1.352 GB, free: 12.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=85): time 0.002432/1.111, allocations: 1.141 MB / 1.353 GB, free: 12.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.111, allocations: 60.72 kB / 1.353 GB, free: 12.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/1.114, allocations: 1.62 MB / 1.355 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.114, allocations: 42.3 kB / 1.355 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007793/1.115, allocations: 0.9498 MB / 1.356 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/1.115, allocations: 320.3 kB / 1.356 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/1.115, allocations: 237.8 kB / 1.357 GB, free: 9.844 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.115, allocations: 355.5 kB / 1.357 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/1.116, allocations: 325.5 kB / 1.357 GB, free: 9.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/1.117, allocations: 0.7036 MB / 1.358 GB, free: 8.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/1.119, allocations: 1.09 MB / 1.359 GB, free: 7.824 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.119, allocations: 2.625 kB / 1.359 GB, free: 7.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00233/1.121, allocations: 1.257 MB / 1.36 GB, free: 7.203 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.121, allocations: 10.41 kB / 1.36 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.392e-05/1.121, allocations: 21.12 kB / 1.36 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.121, allocations: 17.03 kB / 1.36 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/1.122, allocations: 260.2 kB / 1.36 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/1.122, allocations: 30.98 kB / 1.361 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/1.123, allocations: 136.8 kB / 1.361 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.123, allocations: 68.47 kB / 1.361 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00111/1.124, allocations: 0.6229 MB / 1.361 GB, free: 6.637 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008416/1.125, allocations: 0.6989 MB / 1.362 GB, free: 5.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001551/1.127, allocations: 1.083 MB / 1.363 GB, free: 5.125 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.252e-06/1.127, allocations: 9.344 kB / 1.363 GB, free: 5.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002252/1.129, allocations: 1.249 MB / 1.364 GB, free: 4.488 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.129, allocations: 9.281 kB / 1.364 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/1.129, allocations: 19.3 kB / 1.364 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.129, allocations: 18.75 kB / 1.364 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/1.13, allocations: 259.5 kB / 1.365 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/1.13, allocations: 29.94 kB / 1.365 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.131, allocations: 99.55 kB / 1.365 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.131, allocations: 63.3 kB / 1.365 GB, free: 4.332 MB / 1.029 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.0003145/1.132, allocations: 255 kB / 1.365 GB, free: 4.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/1.132, allocations: 204.4 kB / 1.365 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/1.135, allocations: 1.749 MB / 1.367 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/1.135, allocations: 17.55 kB / 1.367 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.135, allocations: 0 / 1.367 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/1.137, allocations: 1.146 MB / 1.368 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005706/1.143, allocations: 3.494 MB / 1.371 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/1.143, allocations: 14.88 kB / 1.371 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/1.143, allocations: 201 kB / 1.372 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/1.143, allocations: 13.84 kB / 1.372 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/1.144, allocations: 47.02 kB / 1.372 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/1.144, allocations: 11.38 kB / 1.372 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.144, allocations: 9.75 kB / 1.372 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/1.147, allocations: 2.244 MB / 1.374 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009239/1.148, allocations: 449.6 kB / 1.374 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/1.148, allocations: 28.03 kB / 1.374 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/1.149, allocations: 50.58 kB / 1.374 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/1.149, allocations: 119 kB / 1.375 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.149, allocations: 57.31 kB / 1.375 GB, free: 13.97 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001507/1.151, allocations: 1.096 MB / 1.376 GB, free: 13.35 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.151, allocations: 0 / 1.376 GB, free: 13.35 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003025/1.154, allocations: 1.142 MB / 1.377 GB, free: 13.06 MB / 1.045 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.005148/1.159, allocations: 3.493 MB / 1.38 GB, free: 9.773 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003099/1.162, allocations: 1.803 MB / 1.382 GB, free: 7.926 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.162, allocations: 1.875 kB / 1.382 GB, free: 7.926 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.163, allocations: 0.8257 MB / 1.383 GB, free: 7.078 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/1.168, allocations: 0.972 MB / 1.384 GB, free: 6.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/1.187, allocations: 12.55 MB / 1.396 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.188, allocations: 1.438 MB / 1.397 GB, free: 7.426 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00181/1.189, allocations: 0.538 MB / 1.398 GB, free: 6.887 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.19, allocations: 0.8506 MB / 1.399 GB, free: 6.035 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/1.19, allocations: 0 / 1.399 GB, free: 6.035 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/1.291, allocations: 58.77 MB / 1.456 GB, free: 11.94 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.61, allocations: 15.62 kB / 1.456 GB, free: 11.93 MB / 1.123 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches