Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.008706/0.008706, allocations: 101.3 kB / 15.73 MB, free: 6.422 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.001653/0.001653, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.399/2.399, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.05 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2619, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002843/0.2648, allocations: 2.028 MB / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.2678, allocations: 2.024 MB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.268, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.2687, allocations: 263 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006748/0.2694, allocations: 291 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009342/0.2703, allocations: 486.4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005764/0.2709, allocations: 462.8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.271, allocations: 44.38 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.2712, allocations: 167.5 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.2715, allocations: 171.4 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.2715, allocations: 16 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.2722, allocations: 447.2 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2723, allocations: 95.77 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.2724, allocations: 127.2 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.2731, allocations: 0.5813 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2731, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2731, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.2731, allocations: 3.938 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008374/0.274, allocations: 0.5994 MB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.274, allocations: 8.031 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.2741, allocations: 38.75 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000936/0.275, allocations: 140.5 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.2755, allocations: 332.3 kB / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2755, allocations: 12.38 kB / 1.096 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.2756, allocations: 8.375 kB / 1.096 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.2761, allocations: 207.7 kB / 1.096 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2761, allocations: 0 / 1.096 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.2762, allocations: 4 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2762, allocations: 0 / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.277, allocations: 207.8 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009907/0.278, allocations: 0.5398 MB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.2787, allocations: 206.6 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.2791, allocations: 108.7 kB / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.2792, allocations: 0 / 1.097 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.2792, allocations: 30.56 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.2792, allocations: 8 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001379/0.2806, allocations: 345.2 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.2806, allocations: 59.33 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.281, allocations: 332.5 kB / 1.098 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.2811, allocations: 29.7 kB / 1.098 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.2812, allocations: 152 kB / 1.098 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.2812, allocations: 31.55 kB / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2813, allocations: 57.69 kB / 1.098 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2815, allocations: 334.8 kB / 1.098 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.2819, allocations: 152.8 kB / 1.098 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.2824, allocations: 202.8 kB / 1.098 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008843/0.2833, allocations: 343.9 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2833, allocations: 0 / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001079/0.2844, allocations: 411.8 kB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2844, allocations: 8 kB / 1.099 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2845, allocations: 0 / 1.099 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2845, allocations: 4 kB / 1.099 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.2848, allocations: 71.83 kB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.2849, allocations: 7.922 kB / 1.099 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.2852, allocations: 35.81 kB / 1.099 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.2852, allocations: 23.98 kB / 1.099 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005096/0.2857, allocations: 236 kB / 1.1 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004537/0.2862, allocations: 192 kB / 1.1 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008361/0.287, allocations: 306.6 kB / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.2871, allocations: 0 / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0009959/0.2881, allocations: 365.1 kB / 1.1 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2881, allocations: 8 kB / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2881, allocations: 0 / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.2881, allocations: 4 kB / 1.1 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.2884, allocations: 59.89 kB / 1.1 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2884, allocations: 4 kB / 1.1 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.2887, allocations: 39.84 kB / 1.1 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.2887, allocations: 8 kB / 1.1 GB, free: 4.352 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 18 * Array equations: 1 * 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.0001186/0.2889, allocations: 188.3 kB / 1.101 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.2889, allocations: 27.62 kB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009376/0.2899, allocations: 276.2 kB / 1.101 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2899, allocations: 4 kB / 1.101 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2899, allocations: 3.938 kB / 1.101 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2899, allocations: 3.984 kB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.2902, allocations: 285.8 kB / 1.101 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2902, allocations: 7.938 kB / 1.101 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.2905, allocations: 47.95 kB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.2905, allocations: 0 / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.2905, allocations: 0 / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.2906, allocations: 7.938 kB / 1.101 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2906, allocations: 3.938 kB / 1.101 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.2914, allocations: 351.1 kB / 1.102 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2916, allocations: 116.7 kB / 1.102 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.2916, allocations: 0 / 1.102 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.2919, allocations: 27.98 kB / 1.102 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2919, allocations: 11.92 kB / 1.102 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.292, allocations: 8 kB / 1.102 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002417/0.2922, allocations: 243 kB / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2922, allocations: 0 / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006127/0.2928, allocations: 148 kB / 1.102 GB, free: 2.527 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.001574/0.2944, allocations: 0.9813 MB / 1.103 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.2959, allocations: 443.9 kB / 1.104 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2959, allocations: 0 / 1.104 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.2963, allocations: 108.4 kB / 1.104 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.2969, allocations: 103.8 kB / 1.104 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/0.3023, allocations: 3.24 MB / 1.107 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3026, allocations: 0.7677 MB / 1.108 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000331/0.303, allocations: 90.84 kB / 1.108 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.3032, allocations: 87.41 kB / 1.108 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of SimCode: time 9.12e-07/0.3032, allocations: 0 / 1.108 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.3326, allocations: 9.517 MB / 1.117 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.103, allocations: 17.39 kB / 1.117 GB, free: 3.227 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_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_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches