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.00744/0.00744, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001692/0.001693, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.311/1.311, 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 10.1.1-maint.10.0.x/package.mo): time 2.383/2.383, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.12 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6703, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1035/0.7739, allocations: 115.2 MB / 1.279 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03256/0.8065, allocations: 26.57 MB / 1.305 GB, free: 5.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.8101, allocations: 115.4 kB / 1.305 GB, free: 5.457 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.8131, allocations: 1.153 MB / 1.306 GB, free: 4.297 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008326/0.8215, allocations: 3.418 MB / 1.309 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005523/0.827, allocations: 2.354 MB / 1.311 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006987/0.834, allocations: 6.174 MB / 1.317 GB, free: 8.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.8367, allocations: 1.937 MB / 1.319 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/0.8421, allocations: 2.656 MB / 1.322 GB, free: 3.695 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.8447, allocations: 1.766 MB / 1.324 GB, free: 1.922 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005175/0.8453, allocations: 224 kB / 1.324 GB, free: 1.703 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005214/0.8505, allocations: 2.336 MB / 1.326 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006117/0.8511, allocations: 0.5487 MB / 1.327 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.8531, allocations: 1.287 MB / 1.328 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006306/0.8594, allocations: 4.098 MB / 1.332 GB, free: 9.402 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8594, allocations: 0 / 1.332 GB, free: 9.402 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8594, allocations: 0 / 1.332 GB, free: 9.402 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000101/0.8595, allocations: 0 / 1.332 GB, free: 9.402 MB / 1.061 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.005639/0.8652, allocations: 2.834 MB / 1.335 GB, free: 6.508 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.8652, allocations: 12.91 kB / 1.335 GB, free: 6.496 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.8655, allocations: 194.6 kB / 1.335 GB, free: 6.297 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006618/0.8661, allocations: 253.1 kB / 1.335 GB, free: 6.047 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/0.8704, allocations: 2.134 MB / 1.337 GB, free: 3.859 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.506e-05/0.8705, allocations: 102.7 kB / 1.337 GB, free: 3.758 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.8707, allocations: 140 kB / 1.337 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.8731, allocations: 1.454 MB / 1.339 GB, free: 2.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.8732, allocations: 11.84 kB / 1.339 GB, free: 2.078 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.8733, allocations: 59.98 kB / 1.339 GB, free: 2.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.8733, allocations: 36 kB / 1.339 GB, free: 1.984 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.8752, allocations: 1.021 MB / 1.34 GB, free: 0.957 MB / 1.061 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.008409/0.8837, allocations: 8.132 MB / 1.348 GB, free: 8.125 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.8852, allocations: 0.8374 MB / 1.349 GB, free: 7.262 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.8858, allocations: 371.8 kB / 1.349 GB, free: 6.898 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/0.8879, allocations: 2.804 MB / 1.352 GB, free: 3.469 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.8879, allocations: 47.22 kB / 1.352 GB, free: 3.414 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.966e-06/0.8879, allocations: 0 / 1.352 GB, free: 3.414 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002288/0.8902, allocations: 1.124 MB / 1.353 GB, free: 2.285 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.8903, allocations: 64 kB / 1.353 GB, free: 2.211 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.8924, allocations: 1.621 MB / 1.355 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.59e-05/0.8925, allocations: 45.7 kB / 1.355 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006616/0.8932, allocations: 0.9276 MB / 1.356 GB, free: 15.56 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.8934, allocations: 315.5 kB / 1.356 GB, free: 15.25 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.8937, allocations: 230.7 kB / 1.356 GB, free: 15.01 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8938, allocations: 341.9 kB / 1.356 GB, free: 14.67 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005992/0.8945, allocations: 329.9 kB / 1.357 GB, free: 14.35 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008633/0.8953, allocations: 0.7111 MB / 1.357 GB, free: 13.47 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.8969, allocations: 1.093 MB / 1.359 GB, free: 12.21 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.8969, allocations: 4 kB / 1.359 GB, free: 12.21 MB / 1.092 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002231/0.8991, allocations: 1.245 MB / 1.36 GB, free: 10.95 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.8992, allocations: 11.98 kB / 1.36 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.44e-05/0.8992, allocations: 16.81 kB / 1.36 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.8992, allocations: 16 kB / 1.36 GB, free: 10.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008159/0.9001, allocations: 271.5 kB / 1.36 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.9001, allocations: 23.92 kB / 1.36 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.9011, allocations: 134.6 kB / 1.36 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.9012, allocations: 63.97 kB / 1.36 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001019/0.9023, allocations: 0.6275 MB / 1.361 GB, free: 9.793 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008239/0.9031, allocations: 0.6955 MB / 1.362 GB, free: 8.93 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001498/0.9046, allocations: 1.085 MB / 1.363 GB, free: 7.688 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.514e-06/0.9046, allocations: 4 kB / 1.363 GB, free: 7.684 MB / 1.092 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002218/0.9069, allocations: 1.242 MB / 1.364 GB, free: 6.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.9069, allocations: 12.03 kB / 1.364 GB, free: 6.418 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.9069, allocations: 16 kB / 1.364 GB, free: 6.402 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.9069, allocations: 20 kB / 1.364 GB, free: 6.383 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/0.9077, allocations: 259.5 kB / 1.364 GB, free: 6.129 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.9078, allocations: 32 kB / 1.364 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.9087, allocations: 107.2 kB / 1.364 GB, free: 5.992 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.9088, allocations: 63.97 kB / 1.364 GB, free: 5.93 MB / 1.092 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.0002513/0.9091, allocations: 251.9 kB / 1.365 GB, free: 5.676 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.9094, allocations: 185.8 kB / 1.365 GB, free: 5.492 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.9126, allocations: 1.744 MB / 1.366 GB, free: 3.742 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.9126, allocations: 27.92 kB / 1.366 GB, free: 3.715 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.9127, allocations: 0 / 1.366 GB, free: 3.715 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001708/0.9144, allocations: 1.142 MB / 1.368 GB, free: 2.539 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.9196, allocations: 3.486 MB / 1.371 GB, free: 14.88 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/0.9197, allocations: 16.8 kB / 1.371 GB, free: 14.87 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.9204, allocations: 199.7 kB / 1.371 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/0.9204, allocations: 8 kB / 1.371 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-05/0.9205, allocations: 47.97 kB / 1.371 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/0.9205, allocations: 12 kB / 1.371 GB, free: 14.61 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.9205, allocations: 15.88 kB / 1.371 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/0.9237, allocations: 2.226 MB / 1.373 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007097/0.9244, allocations: 434.1 kB / 1.374 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.9247, allocations: 39.98 kB / 1.374 GB, free: 11.78 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008374/0.9255, allocations: 44.05 kB / 1.374 GB, free: 11.73 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.9257, allocations: 128.7 kB / 1.374 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.9258, allocations: 59.95 kB / 1.374 GB, free: 11.55 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001423/0.9273, allocations: 1.087 MB / 1.375 GB, free: 10.44 MB / 1.107 GB Notification: Performance of sort global known variables: time 6.21e-07/0.9273, allocations: 0 / 1.375 GB, free: 10.44 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002634/0.9299, allocations: 1.135 MB / 1.376 GB, free: 9.305 MB / 1.107 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.004656/0.9346, allocations: 3.471 MB / 1.38 GB, free: 5.738 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002826/0.9374, allocations: 1.805 MB / 1.381 GB, free: 3.895 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9374, allocations: 7.938 kB / 1.381 GB, free: 3.887 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.9386, allocations: 0.8207 MB / 1.382 GB, free: 3.039 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/0.9428, allocations: 0.9699 MB / 1.383 GB, free: 2.086 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.9609, allocations: 12.48 MB / 1.395 GB, free: 4.945 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009893/0.962, allocations: 1.432 MB / 1.397 GB, free: 3.477 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001665/0.9636, allocations: 0.5449 MB / 1.397 GB, free: 2.93 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009904/0.9646, allocations: 0.8467 MB / 1.398 GB, free: 2.082 MB / 1.123 GB Notification: Performance of SimCode: time 4.71e-07/0.9647, allocations: 0 / 1.398 GB, free: 2.082 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09124/1.056, allocations: 58.77 MB / 1.456 GB, free: 7.887 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.85, allocations: 10.02 kB / 1.456 GB, free: 7.883 MB / 1.186 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