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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006149/0.006149, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001587/0.001587, allocations: 200.6 kB / 16.68 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 66.84 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2419, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1652/0.4071, allocations: 161.5 MB / 1.245 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003031/0.4102, allocations: 1.706 MB / 1.247 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004835/0.4107, allocations: 11.94 kB / 1.247 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005812/0.4113, allocations: 162.9 kB / 1.247 GB, free: 14 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.4127, allocations: 0.5329 MB / 1.248 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.4139, allocations: 423.6 kB / 1.248 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007928/0.4147, allocations: 0.577 MB / 1.249 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.415, allocations: 183.4 kB / 1.249 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000637/0.4157, allocations: 326.7 kB / 1.249 GB, free: 11.97 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.4159, allocations: 139.4 kB / 1.249 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.4159, allocations: 16 kB / 1.249 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.417, allocations: 0.7054 MB / 1.25 GB, free: 11.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.4172, allocations: 79.67 kB / 1.25 GB, free: 11.04 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.4173, allocations: 119.4 kB / 1.25 GB, free: 10.92 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007745/0.4181, allocations: 0.4944 MB / 1.251 GB, free: 10.42 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4181, allocations: 0 / 1.251 GB, free: 10.42 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4181, allocations: 0 / 1.251 GB, free: 10.42 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.4181, allocations: 0 / 1.251 GB, free: 10.42 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008223/0.419, allocations: 0.585 MB / 1.251 GB, free: 9.789 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.419, allocations: 12.03 kB / 1.251 GB, free: 9.777 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.4191, allocations: 54.48 kB / 1.251 GB, free: 9.715 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.4194, allocations: 59.75 kB / 1.251 GB, free: 9.656 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.4199, allocations: 305.5 kB / 1.251 GB, free: 9.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.4199, allocations: 15.94 kB / 1.252 GB, free: 9.305 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4199, allocations: 16 kB / 1.252 GB, free: 9.289 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.4203, allocations: 196.6 kB / 1.252 GB, free: 9.082 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4204, allocations: 0 / 1.252 GB, free: 9.082 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.4204, allocations: 8 kB / 1.252 GB, free: 9.074 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4204, allocations: 4 kB / 1.252 GB, free: 9.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.4207, allocations: 127.8 kB / 1.252 GB, free: 8.945 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.000991/0.4217, allocations: 0.781 MB / 1.253 GB, free: 8.094 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.422, allocations: 86.47 kB / 1.253 GB, free: 8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.4221, allocations: 76.88 kB / 1.253 GB, free: 7.922 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.4224, allocations: 190.2 kB / 1.253 GB, free: 7.699 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.4224, allocations: 34.56 kB / 1.253 GB, free: 7.656 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.525e-06/0.4225, allocations: 0 / 1.253 GB, free: 7.656 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006744/0.4231, allocations: 229.2 kB / 1.253 GB, free: 7.426 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.4232, allocations: 55.41 kB / 1.253 GB, free: 7.359 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.4234, allocations: 267 kB / 1.254 GB, free: 7.094 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.4235, allocations: 29.7 kB / 1.254 GB, free: 7.059 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.4235, allocations: 144 kB / 1.254 GB, free: 6.914 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.4236, allocations: 39.62 kB / 1.254 GB, free: 6.875 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.4237, allocations: 33.7 kB / 1.254 GB, free: 6.836 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4238, allocations: 331.2 kB / 1.254 GB, free: 6.504 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.4239, allocations: 48.81 kB / 1.254 GB, free: 6.453 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.4241, allocations: 97.05 kB / 1.254 GB, free: 6.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.4244, allocations: 119.3 kB / 1.254 GB, free: 6.211 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4244, allocations: 0 / 1.254 GB, free: 6.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003452/0.4247, allocations: 153.4 kB / 1.254 GB, free: 6.055 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4247, allocations: 16.02 kB / 1.254 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4247, allocations: 3.938 kB / 1.254 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4248, allocations: 0 / 1.254 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.4249, allocations: 27.92 kB / 1.254 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4249, allocations: 0 / 1.254 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.4251, allocations: 19.94 kB / 1.255 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.4251, allocations: 4 kB / 1.255 GB, free: 5.984 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001935/0.4253, allocations: 148.1 kB / 1.255 GB, free: 5.836 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001559/0.4255, allocations: 93.09 kB / 1.255 GB, free: 5.727 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002527/0.4258, allocations: 119.4 kB / 1.255 GB, free: 5.598 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.4258, allocations: 0 / 1.255 GB, free: 5.598 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003288/0.4261, allocations: 165.3 kB / 1.255 GB, free: 5.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.4261, allocations: 4 kB / 1.255 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.4261, allocations: 0 / 1.255 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.4261, allocations: 7.938 kB / 1.255 GB, free: 5.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.4263, allocations: 19.98 kB / 1.255 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.4263, allocations: 0 / 1.255 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.4265, allocations: 19.92 kB / 1.255 GB, free: 5.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.4265, allocations: 16 kB / 1.255 GB, free: 5.363 MB / 1.014 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.374e-05/0.4266, allocations: 188.2 kB / 1.255 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.4266, allocations: 27.81 kB / 1.255 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.427, allocations: 163.2 kB / 1.255 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.427, allocations: 8.406 kB / 1.255 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.427, allocations: 0 / 1.255 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.427, allocations: 0 / 1.255 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/0.4279, allocations: 0.5862 MB / 1.256 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4279, allocations: 0 / 1.256 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.4281, allocations: 31.91 kB / 1.256 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4281, allocations: 0 / 1.256 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.4281, allocations: 8.125 kB / 1.256 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4281, allocations: 11.94 kB / 1.256 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4281, allocations: 0 / 1.256 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.4285, allocations: 293.3 kB / 1.256 GB, free: 3.926 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4286, allocations: 116.9 kB / 1.256 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4287, allocations: 12 kB / 1.256 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.4289, allocations: 11.98 kB / 1.256 GB, free: 3.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.4289, allocations: 20.05 kB / 1.257 GB, free: 3.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4289, allocations: 4 kB / 1.257 GB, free: 3.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001691/0.4291, allocations: 194 kB / 1.257 GB, free: 3.555 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4291, allocations: 0 / 1.257 GB, free: 3.555 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004689/0.4296, allocations: 103.8 kB / 1.257 GB, free: 3.453 MB / 1.014 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.000904/0.4305, allocations: 0.8884 MB / 1.258 GB, free: 2.527 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004832/0.431, allocations: 167.9 kB / 1.258 GB, free: 2.363 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.431, allocations: 4.125 kB / 1.258 GB, free: 2.359 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.4312, allocations: 67.83 kB / 1.258 GB, free: 2.293 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.4319, allocations: 113.8 kB / 1.258 GB, free: 2.184 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5024/0.9343, allocations: 2.353 MB / 1.26 GB, free: 175 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.9345, allocations: 0.7529 MB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002839/0.9348, allocations: 68.22 kB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.9349, allocations: 71.39 kB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/0.9349, allocations: 0 / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.961, allocations: 6.899 MB / 1.268 GB, free: 173.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.721, allocations: 16.47 kB / 1.268 GB, free: 173.7 MB / 1.014 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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