Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_10_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.001085/0.001085, 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.0011/0.0011, allocations: 196 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.32/1.32, 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 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 67.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5949/0.5965, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1543/0.7509, allocations: 161.5 MB / 1.175 GB, free: 328 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.7538, allocations: 1.722 MB / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.7541, allocations: 7.938 kB / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.7547, allocations: 151 kB / 1.177 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.756, allocations: 0.5055 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.7571, allocations: 422.3 kB / 1.178 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007651/0.7579, allocations: 0.5616 MB / 1.178 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.7582, allocations: 188.4 kB / 1.179 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006142/0.7588, allocations: 318.7 kB / 1.179 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.7591, allocations: 155.3 kB / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.7591, allocations: 12 kB / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.7602, allocations: 0.6899 MB / 1.18 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.7603, allocations: 83.7 kB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.7605, allocations: 119.4 kB / 1.18 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006818/0.7611, allocations: 498.6 kB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7612, allocations: 0 / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7612, allocations: 0 / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7612, allocations: 0 / 1.18 GB, free: 10.91 MB / 0.9356 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.0007467/0.7619, allocations: 0.58 MB / 1.181 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.762, allocations: 8.031 kB / 1.181 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.762, allocations: 50.5 kB / 1.181 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.7624, allocations: 63.61 kB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.7627, allocations: 285.4 kB / 1.181 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.7627, allocations: 15.94 kB / 1.181 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.7627, allocations: 12 kB / 1.181 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.7631, allocations: 196.1 kB / 1.182 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.7631, allocations: 0 / 1.182 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.7631, allocations: 4 kB / 1.182 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.7631, allocations: 8 kB / 1.182 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.7634, allocations: 132.9 kB / 1.182 GB, free: 9.465 MB / 0.9356 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.0009257/0.7644, allocations: 0.7731 MB / 1.182 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.7646, allocations: 86.47 kB / 1.183 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.7648, allocations: 80.86 kB / 1.183 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.7651, allocations: 190.2 kB / 1.183 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.7652, allocations: 30.56 kB / 1.183 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.7652, allocations: 0 / 1.183 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006764/0.7659, allocations: 221.2 kB / 1.183 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.7659, allocations: 55.41 kB / 1.183 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.7661, allocations: 267 kB / 1.183 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.7662, allocations: 30.08 kB / 1.183 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.7663, allocations: 147.9 kB / 1.184 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.7663, allocations: 39.47 kB / 1.184 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.7664, allocations: 33.7 kB / 1.184 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.7665, allocations: 334.8 kB / 1.184 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.7666, allocations: 48.81 kB / 1.184 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.7668, allocations: 89.11 kB / 1.184 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.767, allocations: 127.3 kB / 1.184 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.767, allocations: 0 / 1.184 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003341/0.7674, allocations: 153.3 kB / 1.184 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7674, allocations: 9.875 kB / 1.184 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.7674, allocations: 7.969 kB / 1.184 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.7674, allocations: 0 / 1.184 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.7676, allocations: 31.91 kB / 1.184 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7676, allocations: 0 / 1.184 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.7677, allocations: 23.83 kB / 1.184 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.7678, allocations: 7.938 kB / 1.184 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001844/0.768, allocations: 148.1 kB / 1.185 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001516/0.7681, allocations: 89.11 kB / 1.185 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002362/0.7684, allocations: 119.4 kB / 1.185 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.7684, allocations: 0 / 1.185 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003171/0.7687, allocations: 169.2 kB / 1.185 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/0.7687, allocations: 4 kB / 1.185 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.7687, allocations: 0 / 1.185 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/0.7687, allocations: 7.938 kB / 1.185 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.7688, allocations: 19.98 kB / 1.185 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.7689, allocations: 0 / 1.185 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.769, allocations: 12.11 kB / 1.185 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.769, allocations: 16.03 kB / 1.185 GB, free: 5.887 MB / 0.9356 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 8.785e-05/0.7691, allocations: 192.2 kB / 1.185 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.7692, allocations: 23.72 kB / 1.185 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.7695, allocations: 159.6 kB / 1.185 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.7696, allocations: 4.094 kB / 1.185 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.7696, allocations: 3.938 kB / 1.185 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7696, allocations: 0 / 1.185 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008217/0.7704, allocations: 0.5823 MB / 1.186 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7704, allocations: 4.031 kB / 1.186 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.7705, allocations: 23.98 kB / 1.186 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7706, allocations: 0 / 1.186 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.7706, allocations: 8 kB / 1.186 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/0.7706, allocations: 11.92 kB / 1.186 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7706, allocations: 0 / 1.186 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.7709, allocations: 293.1 kB / 1.186 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.771, allocations: 116.7 kB / 1.186 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.7711, allocations: 12 kB / 1.186 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.7713, allocations: 11.98 kB / 1.186 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.7713, allocations: 15.86 kB / 1.186 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.7714, allocations: 8 kB / 1.186 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001639/0.7715, allocations: 190 kB / 1.187 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7715, allocations: 0 / 1.187 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004536/0.772, allocations: 103.8 kB / 1.187 GB, free: 4 MB / 0.9356 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.0008419/0.7728, allocations: 0.8867 MB / 1.188 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.7733, allocations: 171.6 kB / 1.188 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7733, allocations: 128 / 1.188 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.7735, allocations: 67.89 kB / 1.188 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.7742, allocations: 118.1 kB / 1.188 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.7768, allocations: 2.351 MB / 1.19 GB, free: 232 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.7772, allocations: 0.7603 MB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.7774, allocations: 65.88 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.7775, allocations: 71.41 kB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.7775, allocations: 4 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.8006, allocations: 6.839 MB / 1.198 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/8.262, allocations: 12.75 kB / 1.198 GB, free: 8.613 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches