Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_9_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.0009059/0.0009059, allocations: 92 kB / 15.36 MB, free: 0.7383 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.00505/0.00505, allocations: 170.3 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 16 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6409/0.6412, allocations: 142.4 MB / 0.9552 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1683/0.8096, allocations: 157.2 MB / 1.109 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.8122, allocations: 1.705 MB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.8124, allocations: 19.81 kB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.8129, allocations: 127.2 kB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.8139, allocations: 494 kB / 1.111 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008482/0.8148, allocations: 368.8 kB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007698/0.8155, allocations: 0.7643 MB / 1.112 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.8158, allocations: 152.5 kB / 1.112 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000506/0.8163, allocations: 290.8 kB / 1.112 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.8165, allocations: 159.2 kB / 1.113 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.8165, allocations: 8 kB / 1.113 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009981/0.8175, allocations: 0.7677 MB / 1.113 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.8176, allocations: 79.77 kB / 1.113 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.8178, allocations: 137 kB / 1.114 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.8184, allocations: 0.5102 MB / 1.114 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.8184, allocations: 0 / 1.114 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8184, allocations: 0 / 1.114 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.8184, allocations: 0 / 1.114 GB, free: 12.03 MB / 0.8731 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.0007074/0.8191, allocations: 0.5388 MB / 1.115 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.8192, allocations: 12.03 kB / 1.115 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.8192, allocations: 46.55 kB / 1.115 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.8195, allocations: 59.58 kB / 1.115 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.8199, allocations: 285.3 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.8199, allocations: 12 kB / 1.115 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.8199, allocations: 16 kB / 1.115 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.8203, allocations: 204.6 kB / 1.115 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8203, allocations: 3.984 kB / 1.115 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.8204, allocations: 4 kB / 1.115 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.8204, allocations: 4 kB / 1.115 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.8207, allocations: 143.8 kB / 1.115 GB, free: 10.6 MB / 0.8731 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.0009459/0.8216, allocations: 0.7847 MB / 1.116 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.8219, allocations: 94.53 kB / 1.116 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.8221, allocations: 88.78 kB / 1.116 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.8223, allocations: 186.1 kB / 1.116 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.8224, allocations: 42.56 kB / 1.117 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.8224, allocations: 0 / 1.117 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006374/0.823, allocations: 241.1 kB / 1.117 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.8231, allocations: 51.41 kB / 1.117 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.8233, allocations: 271 kB / 1.117 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.8234, allocations: 29.7 kB / 1.117 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.8234, allocations: 147.9 kB / 1.117 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.8235, allocations: 31.55 kB / 1.117 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.8235, allocations: 13.72 kB / 1.117 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8237, allocations: 338.8 kB / 1.118 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.8238, allocations: 39.97 kB / 1.118 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.824, allocations: 105 kB / 1.118 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.8242, allocations: 127.3 kB / 1.118 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8242, allocations: 7.938 kB / 1.118 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003384/0.8246, allocations: 169.3 kB / 1.118 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.8247, allocations: 121.1 kB / 1.118 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8247, allocations: 0 / 1.118 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.8247, allocations: 0 / 1.118 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.8248, allocations: 23.98 kB / 1.118 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.8248, allocations: 7.938 kB / 1.118 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.825, allocations: 27.92 kB / 1.118 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.8251, allocations: 7.984 kB / 1.118 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.8251, allocations: 4 kB / 1.118 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002681/0.8253, allocations: 111.9 kB / 1.118 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.8254, allocations: 0 / 1.118 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.8254, allocations: 4 kB / 1.118 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.8255, allocations: 24.02 kB / 1.118 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.8255, allocations: 11.88 kB / 1.118 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.8257, allocations: 27.88 kB / 1.118 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.8257, allocations: 4 kB / 1.118 GB, free: 7.277 MB / 0.8731 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.0001401/0.8258, allocations: 217.1 kB / 1.119 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.8259, allocations: 23.72 kB / 1.119 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.8263, allocations: 171.8 kB / 1.119 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.8263, allocations: 7.938 kB / 1.119 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8263, allocations: 3.938 kB / 1.119 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8263, allocations: 0 / 1.119 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.8271, allocations: 0.6015 MB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8271, allocations: 7.984 kB / 1.119 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.8273, allocations: 28.25 kB / 1.119 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8273, allocations: 4 kB / 1.119 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.8273, allocations: 0 / 1.119 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.8273, allocations: 4 kB / 1.119 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8273, allocations: 4.219 kB / 1.119 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.8277, allocations: 309.1 kB / 1.12 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.8278, allocations: 124.7 kB / 1.12 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.8278, allocations: 0 / 1.12 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.828, allocations: 24.05 kB / 1.12 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.8281, allocations: 15.92 kB / 1.12 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.8281, allocations: 8 kB / 1.12 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001753/0.8283, allocations: 197.9 kB / 1.12 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8283, allocations: 0 / 1.12 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004209/0.8287, allocations: 91.84 kB / 1.12 GB, free: 5.305 MB / 0.8731 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.000859/0.8296, allocations: 0.9015 MB / 1.121 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004404/0.83, allocations: 175.8 kB / 1.121 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.83, allocations: 4 kB / 1.121 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.8302, allocations: 68.45 kB / 1.121 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008687/0.8311, allocations: 138.5 kB / 1.121 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.8337, allocations: 2.438 MB / 1.124 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.834, allocations: 0.7677 MB / 1.125 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.8342, allocations: 62.23 kB / 1.125 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.8343, allocations: 63.42 kB / 1.125 GB, free: 500 kB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.8344, allocations: 0 / 1.125 GB, free: 500 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.8512, allocations: 6.527 MB / 1.131 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.8515, allocations: 240.1 kB / 1.131 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.709, allocations: 0 / 1.131 GB, free: 9.906 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches