Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PressureDrop,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_11_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.001912/0.001912, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 198.7 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.397/2.397, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 69.17 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2298, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.155/0.3849, allocations: 161.5 MB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002605/0.3875, allocations: 1.704 MB / 1.223 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.3878, allocations: 15.88 kB / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.3883, allocations: 159 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.3893, allocations: 0.5062 MB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000961/0.3903, allocations: 424.7 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006746/0.391, allocations: 0.5693 MB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.3913, allocations: 180.5 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005123/0.3918, allocations: 314.7 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.392, allocations: 151.3 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.392, allocations: 12 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009874/0.393, allocations: 0.6898 MB / 1.226 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.9e-05/0.3931, allocations: 87.7 kB / 1.226 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3933, allocations: 115.4 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.3939, allocations: 494.6 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3939, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3939, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.394, allocations: 0 / 1.227 GB, free: 6.715 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007521/0.3947, allocations: 0.5799 MB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3948, allocations: 16.02 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.3948, allocations: 42.56 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.3951, allocations: 59.67 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.3954, allocations: 293.2 kB / 1.228 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3955, allocations: 8 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.3955, allocations: 16 kB / 1.228 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.3958, allocations: 200.6 kB / 1.228 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3958, allocations: 0 / 1.228 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3959, allocations: 4 kB / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3959, allocations: 8 kB / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.3962, allocations: 131.8 kB / 1.228 GB, free: 5.258 MB / 0.9825 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.000924/0.3971, allocations: 0.7769 MB / 1.229 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.3973, allocations: 86.47 kB / 1.229 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.3975, allocations: 80.86 kB / 1.229 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002949/0.3978, allocations: 186.2 kB / 1.229 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3978, allocations: 34.56 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3978, allocations: 0 / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006045/0.3984, allocations: 221.2 kB / 1.23 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3985, allocations: 55.41 kB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.3987, allocations: 267 kB / 1.23 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3988, allocations: 29.7 kB / 1.23 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.3989, allocations: 144 kB / 1.23 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.3989, allocations: 39.44 kB / 1.23 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.399, allocations: 29.72 kB / 1.23 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3991, allocations: 334.8 kB / 1.231 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3992, allocations: 56.75 kB / 1.231 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.3994, allocations: 89.11 kB / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.3997, allocations: 123.3 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3997, allocations: 0.5625 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003189/0.4, allocations: 153.3 kB / 1.231 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4, allocations: 11.94 kB / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4, allocations: 7.969 kB / 1.231 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.4, allocations: 0 / 1.231 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.4001, allocations: 23.92 kB / 1.231 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4002, allocations: 11.92 kB / 1.231 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.4003, allocations: 19.92 kB / 1.231 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4003, allocations: 4 kB / 1.231 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001811/0.4005, allocations: 148.1 kB / 1.231 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001543/0.4007, allocations: 93.09 kB / 1.231 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002353/0.4009, allocations: 123.4 kB / 1.231 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.4009, allocations: 0 / 1.231 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003018/0.4013, allocations: 157.3 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.4013, allocations: 8 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.4013, allocations: 0 / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-06/0.4013, allocations: 3.938 kB / 1.232 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4014, allocations: 27.92 kB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-06/0.4014, allocations: 0 / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.4015, allocations: 15.98 kB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4016, allocations: 8.031 kB / 1.232 GB, free: 1.68 MB / 0.9825 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 9.358e-05/0.4017, allocations: 184.3 kB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.4017, allocations: 27.7 kB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.4021, allocations: 159.2 kB / 1.232 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4021, allocations: 4 kB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.4021, allocations: 0 / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4021, allocations: 0 / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.4029, allocations: 0.5938 MB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4029, allocations: 4.031 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.403, allocations: 23.98 kB / 1.233 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.403, allocations: 0 / 1.233 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.403, allocations: 8 kB / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.403, allocations: 8.109 kB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4031, allocations: 7.938 kB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.4034, allocations: 297.3 kB / 1.233 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.4035, allocations: 113 kB / 1.233 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.4036, allocations: 12 kB / 1.233 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4037, allocations: 11.92 kB / 1.233 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.4038, allocations: 19.91 kB / 1.233 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4038, allocations: 8 kB / 1.233 GB, free: 68 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001782/0.404, allocations: 194 kB / 1.233 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.404, allocations: 0 / 1.233 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004013/0.4044, allocations: 91.84 kB / 1.233 GB, free: 15.79 MB / 0.9981 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.0008524/0.4053, allocations: 0.8907 MB / 1.234 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.4057, allocations: 171.7 kB / 1.234 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4057, allocations: 128 / 1.234 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.4059, allocations: 67.89 kB / 1.234 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.4065, allocations: 123.2 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.409, allocations: 2.359 MB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4094, allocations: 0.7597 MB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.4096, allocations: 61.89 kB / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-05/0.4097, allocations: 71.41 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.4097, allocations: 4 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9556/1.365, allocations: 6.829 MB / 1.244 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.72, allocations: 3.5 kB / 1.244 GB, free: 4.418 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches