Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.007888/0.007888, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002076/0.002076, allocations: 193.3 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.669/2.669, allocations: 469.4 MB / 0.7422 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.89 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.6905/0.9631, allocations: 161.5 MB / 1.377 GB, free: 7.391 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.966, allocations: 1.711 MB / 1.379 GB, free: 6.199 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.9664, allocations: 10.88 kB / 1.379 GB, free: 6.195 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.9671, allocations: 165.2 kB / 1.379 GB, free: 6.094 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.9685, allocations: 0.5338 MB / 1.38 GB, free: 5.816 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.9697, allocations: 420.9 kB / 1.38 GB, free: 5.621 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008347/0.9705, allocations: 0.5715 MB / 1.381 GB, free: 5.359 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.9709, allocations: 186.6 kB / 1.381 GB, free: 5.266 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006928/0.9716, allocations: 328.4 kB / 1.381 GB, free: 5.066 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.9718, allocations: 153.4 kB / 1.381 GB, free: 4.977 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.9719, allocations: 12.94 kB / 1.381 GB, free: 4.977 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.9731, allocations: 0.7008 MB / 1.382 GB, free: 4.574 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.9732, allocations: 82.36 kB / 1.382 GB, free: 4.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.9734, allocations: 118.2 kB / 1.382 GB, free: 4.445 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008639/0.9742, allocations: 496 kB / 1.383 GB, free: 4.156 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.9743, allocations: 5.406 kB / 1.383 GB, free: 4.152 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9743, allocations: 0 / 1.383 GB, free: 4.152 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.9743, allocations: 3.938 kB / 1.383 GB, free: 4.148 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000884/0.9752, allocations: 0.5957 MB / 1.383 GB, free: 3.594 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.9752, allocations: 9.875 kB / 1.383 GB, free: 3.594 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.9753, allocations: 52.02 kB / 1.383 GB, free: 3.539 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.9757, allocations: 60.3 kB / 1.383 GB, free: 3.508 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.9762, allocations: 303.1 kB / 1.384 GB, free: 3.223 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.9762, allocations: 14.34 kB / 1.384 GB, free: 3.215 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.9762, allocations: 14.09 kB / 1.384 GB, free: 3.211 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.9766, allocations: 195.6 kB / 1.384 GB, free: 3.074 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9766, allocations: 0 / 1.384 GB, free: 3.074 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.9767, allocations: 5.688 kB / 1.384 GB, free: 3.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.9767, allocations: 7.219 kB / 1.384 GB, free: 3.066 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.977, allocations: 129.5 kB / 1.384 GB, free: 3.008 MB / 1.076 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.001133/0.9781, allocations: 0.779 MB / 1.385 GB, free: 2.293 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.9784, allocations: 80.25 kB / 1.385 GB, free: 2.242 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.9786, allocations: 80.73 kB / 1.385 GB, free: 2.199 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.9789, allocations: 184.9 kB / 1.385 GB, free: 2.004 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.9789, allocations: 40.02 kB / 1.385 GB, free: 1.957 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.9789, allocations: 0 / 1.385 GB, free: 1.957 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0006815/0.9796, allocations: 215 kB / 1.385 GB, free: 1.844 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.9797, allocations: 56.97 kB / 1.386 GB, free: 1.777 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.9799, allocations: 269.7 kB / 1.386 GB, free: 1.602 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.98, allocations: 27.61 kB / 1.386 GB, free: 1.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.9801, allocations: 148.1 kB / 1.386 GB, free: 1.434 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.9801, allocations: 43.91 kB / 1.386 GB, free: 1.395 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.9802, allocations: 28.12 kB / 1.386 GB, free: 1.371 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9803, allocations: 333.2 kB / 1.386 GB, free: 1.043 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.9805, allocations: 50.45 kB / 1.386 GB, free: 1.012 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.9807, allocations: 91.09 kB / 1.386 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.9809, allocations: 124.2 kB / 1.387 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.981, allocations: 0 / 1.387 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003725/0.9813, allocations: 161.6 kB / 1.387 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.9814, allocations: 5.594 kB / 1.387 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9814, allocations: 1.031 kB / 1.387 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9814, allocations: 6.219 kB / 1.387 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.9815, allocations: 30.45 kB / 1.387 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.9815, allocations: 1.156 kB / 1.387 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.9817, allocations: 29.23 kB / 1.387 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.9818, allocations: 4.844 kB / 1.387 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002027/0.982, allocations: 145.9 kB / 1.387 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001565/0.9821, allocations: 88.58 kB / 1.387 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002469/0.9824, allocations: 125.2 kB / 1.387 GB, free: 464 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.9824, allocations: 1.094 kB / 1.387 GB, free: 464 kB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003419/0.9828, allocations: 160.8 kB / 1.387 GB, free: 364 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.9828, allocations: 5.406 kB / 1.387 GB, free: 364 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.9828, allocations: 1.25 kB / 1.387 GB, free: 364 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-06/0.9828, allocations: 5.062 kB / 1.387 GB, free: 360 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.9829, allocations: 24.11 kB / 1.387 GB, free: 352 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.9829, allocations: 1.312 kB / 1.387 GB, free: 352 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.9831, allocations: 16.58 kB / 1.387 GB, free: 344 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.9831, allocations: 5.188 kB / 1.387 GB, free: 344 kB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001042/0.9832, allocations: 187.1 kB / 1.388 GB, free: 152 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.9833, allocations: 23.55 kB / 1.388 GB, free: 140 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.9837, allocations: 168.4 kB / 1.388 GB, free: 24 kB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.9837, allocations: 1.094 kB / 1.388 GB, free: 24 kB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.9837, allocations: 3.984 kB / 1.388 GB, free: 20 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.9837, allocations: 1.188 kB / 1.388 GB, free: 20 kB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009198/0.9846, allocations: 0.5928 MB / 1.388 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.9846, allocations: 3.406 kB / 1.388 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.9848, allocations: 25.48 kB / 1.388 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.9848, allocations: 2.219 kB / 1.388 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.9848, allocations: 7.531 kB / 1.388 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.9848, allocations: 6.156 kB / 1.388 GB, free: 15.47 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.9848, allocations: 6.141 kB / 1.388 GB, free: 15.47 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.9852, allocations: 295.6 kB / 1.389 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.9853, allocations: 113.5 kB / 1.389 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.9854, allocations: 8.984 kB / 1.389 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.9856, allocations: 10.95 kB / 1.389 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.9856, allocations: 20.81 kB / 1.389 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.9856, allocations: 8.453 kB / 1.389 GB, free: 15.07 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001854/0.9858, allocations: 195.5 kB / 1.389 GB, free: 14.93 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9858, allocations: 0 / 1.389 GB, free: 14.93 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004561/0.9863, allocations: 92.55 kB / 1.389 GB, free: 14.92 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008767/0.9872, allocations: 0.8922 MB / 1.39 GB, free: 14.1 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004622/0.9876, allocations: 163.1 kB / 1.39 GB, free: 14.03 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9877, allocations: 1.188 kB / 1.39 GB, free: 14.03 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.9878, allocations: 57.75 kB / 1.39 GB, free: 14 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.9885, allocations: 133.2 kB / 1.39 GB, free: 13.94 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.9913, allocations: 2.36 MB / 1.393 GB, free: 12.05 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.9916, allocations: 0.7589 MB / 1.393 GB, free: 11.31 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001996/0.9918, allocations: 71.34 kB / 1.393 GB, free: 11.28 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.992, allocations: 68.8 kB / 1.393 GB, free: 11.22 MB / 1.092 GB Notification: Performance of SimCode: time 2.3e-07/0.992, allocations: 0 / 1.393 GB, free: 11.22 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.486/2.478, allocations: 6.901 MB / 1.4 GB, free: 7.77 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/13.4, allocations: 7 kB / 1.4 GB, free: 7.77 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches