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.007352/0.007352, allocations: 100.6 kB / 15.73 MB, free: 5.547 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.001513/0.001513, allocations: 191.7 kB / 16.67 MB, free: 5.477 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.162/2.162, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7489/0.7503, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1852/0.9355, allocations: 161.5 MB / 1.245 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002928/0.9384, allocations: 1.721 MB / 1.247 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.9389, allocations: 14.03 kB / 1.247 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.9396, allocations: 160.7 kB / 1.247 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.9411, allocations: 0.5126 MB / 1.248 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.9424, allocations: 416.8 kB / 1.248 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008752/0.9433, allocations: 0.5723 MB / 1.248 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.9436, allocations: 188.2 kB / 1.249 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006924/0.9443, allocations: 306.8 kB / 1.249 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.9446, allocations: 159.2 kB / 1.249 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.9446, allocations: 12 kB / 1.249 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.9458, allocations: 0.6976 MB / 1.25 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.9459, allocations: 71.8 kB / 1.25 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.9461, allocations: 127.3 kB / 1.25 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.9469, allocations: 0.4947 MB / 1.25 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.9469, allocations: 0 / 1.25 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9469, allocations: 0 / 1.25 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.9469, allocations: 0 / 1.25 GB, free: 6.852 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.0008332/0.9477, allocations: 0.576 MB / 1.251 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.9478, allocations: 12.03 kB / 1.251 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.9478, allocations: 46.55 kB / 1.251 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.9482, allocations: 55.69 kB / 1.251 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.9486, allocations: 305.2 kB / 1.251 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.9487, allocations: 8 kB / 1.251 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.9487, allocations: 16 kB / 1.251 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.9491, allocations: 200.6 kB / 1.252 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9491, allocations: 0 / 1.252 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.9491, allocations: 4 kB / 1.252 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.9491, allocations: 4 kB / 1.252 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.9494, allocations: 131.8 kB / 1.252 GB, free: 5.395 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.000987/0.9504, allocations: 0.7808 MB / 1.253 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.9507, allocations: 82.53 kB / 1.253 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.9508, allocations: 76.86 kB / 1.253 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.9511, allocations: 186.2 kB / 1.253 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.9511, allocations: 34.5 kB / 1.253 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 5.41e-06/0.9512, allocations: 4 kB / 1.253 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006757/0.9518, allocations: 229.1 kB / 1.253 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.9519, allocations: 51.41 kB / 1.253 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.9521, allocations: 267 kB / 1.253 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.9522, allocations: 25.7 kB / 1.253 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.9522, allocations: 144 kB / 1.254 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.9523, allocations: 43.45 kB / 1.254 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.9523, allocations: 25.72 kB / 1.254 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.9525, allocations: 338.8 kB / 1.254 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.9526, allocations: 40.83 kB / 1.254 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.9528, allocations: 97.09 kB / 1.254 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.953, allocations: 119.3 kB / 1.254 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.953, allocations: 4 kB / 1.254 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003537/0.9534, allocations: 165.2 kB / 1.254 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.9534, allocations: 4 kB / 1.254 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9534, allocations: 3.938 kB / 1.254 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.9535, allocations: 4 kB / 1.254 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.9536, allocations: 19.98 kB / 1.254 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.9536, allocations: 0 / 1.254 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.9538, allocations: 15.92 kB / 1.254 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.9538, allocations: 15.98 kB / 1.254 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001921/0.954, allocations: 148.1 kB / 1.255 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001694/0.9542, allocations: 89.05 kB / 1.255 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002519/0.9545, allocations: 119.3 kB / 1.255 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.9545, allocations: 4 kB / 1.255 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003434/0.9548, allocations: 161.4 kB / 1.255 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.9549, allocations: 11.5 kB / 1.255 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.9549, allocations: 0 / 1.255 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.9549, allocations: 7.938 kB / 1.255 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.955, allocations: 20.11 kB / 1.255 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.955, allocations: 7.938 kB / 1.255 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.9552, allocations: 16.02 kB / 1.255 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.9552, allocations: 12 kB / 1.255 GB, free: 1.82 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 0.0001009/0.9553, allocations: 180.3 kB / 1.255 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.9554, allocations: 27.66 kB / 1.255 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.9558, allocations: 163.2 kB / 1.255 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.9558, allocations: 0 / 1.255 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9558, allocations: 4 kB / 1.255 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.9558, allocations: 3.984 kB / 1.255 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/0.9567, allocations: 0.5898 MB / 1.256 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9567, allocations: 4 kB / 1.256 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.9568, allocations: 23.92 kB / 1.256 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.9568, allocations: 4 kB / 1.256 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.9568, allocations: 4 kB / 1.256 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.9569, allocations: 4 kB / 1.256 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9569, allocations: 0 / 1.256 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.9572, allocations: 301.3 kB / 1.256 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.9574, allocations: 112.8 kB / 1.256 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.9574, allocations: 4 kB / 1.256 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.9576, allocations: 23.91 kB / 1.256 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.9577, allocations: 7.938 kB / 1.256 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.9577, allocations: 8 kB / 1.256 GB, free: 224 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001726/0.9579, allocations: 193.9 kB / 1.257 GB, free: 28 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9579, allocations: 4 kB / 1.257 GB, free: 24 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004836/0.9584, allocations: 99.89 kB / 1.257 GB, free: 15.92 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.0008437/0.9592, allocations: 0.8886 MB / 1.258 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.9597, allocations: 167.8 kB / 1.258 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.9597, allocations: 0 / 1.258 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.9599, allocations: 67.78 kB / 1.258 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/0.9606, allocations: 118.8 kB / 1.258 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.9634, allocations: 2.35 MB / 1.26 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.9637, allocations: 0.7597 MB / 1.261 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.9639, allocations: 66.53 kB / 1.261 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.964, allocations: 67.42 kB / 1.261 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.964, allocations: 0 / 1.261 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.9893, allocations: 6.917 MB / 1.268 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.726, allocations: 0 / 1.268 GB, free: 4.5 MB / 0.9981 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