Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_11_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.005151/0.005151, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001318/0.001319, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.859/2.859, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003315/0.003315, allocations: 60.09 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3412, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003574/0.3448, allocations: 2.314 MB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006077/0.3509, allocations: 3.779 MB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.3511, allocations: 11.94 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.3538, allocations: 1.044 MB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008668/0.3547, allocations: 426.4 kB / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3558, allocations: 0.5146 MB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004938/0.3608, allocations: 3.152 MB / 1.231 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3609, allocations: 40.73 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.3612, allocations: 223.3 kB / 1.231 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.3616, allocations: 215.2 kB / 1.232 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.3616, allocations: 27.94 kB / 1.232 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.3629, allocations: 0.7448 MB / 1.232 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.3631, allocations: 215.3 kB / 1.233 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.3634, allocations: 254.5 kB / 1.233 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.3647, allocations: 1.063 MB / 1.234 GB, free: 248 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3648, allocations: 0 / 1.234 GB, free: 248 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3648, allocations: 0 / 1.234 GB, free: 248 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.3648, allocations: 0 / 1.234 GB, free: 248 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.00153/0.3663, allocations: 0.9443 MB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3664, allocations: 8.031 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.165e-05/0.3664, allocations: 46.73 kB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.3677, allocations: 224.3 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006399/0.3741, allocations: 3.6 MB / 1.239 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3742, allocations: 8 kB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.3742, allocations: 12 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.3748, allocations: 258.9 kB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3748, allocations: 4 kB / 1.239 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.3749, allocations: 0 / 1.239 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3749, allocations: 7.938 kB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.3756, allocations: 239.8 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.377, allocations: 0.828 MB / 1.24 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.3778, allocations: 306.5 kB / 1.24 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.3781, allocations: 128.8 kB / 1.24 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.3782, allocations: 0 / 1.24 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3782, allocations: 30.56 kB / 1.24 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3782, allocations: 0 / 1.24 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.001264/0.3795, allocations: 448.9 kB / 1.241 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3795, allocations: 55.41 kB / 1.241 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009196/0.3805, allocations: 0.754 MB / 1.242 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3805, allocations: 29.7 kB / 1.242 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.3807, allocations: 240.8 kB / 1.242 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.3808, allocations: 47.67 kB / 1.242 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.381, allocations: 154 kB / 1.242 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3812, allocations: 374.8 kB / 1.242 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/0.382, allocations: 442.9 kB / 1.243 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.3828, allocations: 0.5277 MB / 1.243 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.3842, allocations: 0.8624 MB / 1.244 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3842, allocations: 0 / 1.244 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00182/0.3861, allocations: 1.081 MB / 1.245 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.3861, allocations: 8 kB / 1.245 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3861, allocations: 0 / 1.245 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3861, allocations: 4 kB / 1.245 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.3866, allocations: 115.8 kB / 1.245 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3867, allocations: 4 kB / 1.245 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.3871, allocations: 75.53 kB / 1.245 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.3872, allocations: 39.94 kB / 1.245 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008795/0.388, allocations: 0.5481 MB / 1.246 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007164/0.3888, allocations: 456.5 kB / 1.246 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001216/0.39, allocations: 0.7237 MB / 1.247 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.39, allocations: 0 / 1.247 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001593/0.3916, allocations: 0.9262 MB / 1.248 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3916, allocations: 4.219 kB / 1.248 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3916, allocations: 8 kB / 1.248 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-06/0.3917, allocations: 4 kB / 1.248 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.3921, allocations: 107.9 kB / 1.248 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3921, allocations: 7.938 kB / 1.248 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.3926, allocations: 59.75 kB / 1.248 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.3926, allocations: 27.98 kB / 1.248 GB, free: 1.164 MB / 0.9981 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001637/0.3928, allocations: 200.6 kB / 1.248 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.3929, allocations: 59.58 kB / 1.248 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009993/0.3939, allocations: 359.1 kB / 1.249 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3939, allocations: 7.938 kB / 1.249 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3939, allocations: 0 / 1.249 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3939, allocations: 0 / 1.249 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.3944, allocations: 413.3 kB / 1.249 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3944, allocations: 0 / 1.249 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.3947, allocations: 43.95 kB / 1.249 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3947, allocations: 4 kB / 1.249 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.3947, allocations: 4 kB / 1.249 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3947, allocations: 0 / 1.249 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3947, allocations: 0 / 1.249 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5574/0.9521, allocations: 425.1 kB / 1.25 GB, free: 30.51 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.9523, allocations: 153.2 kB / 1.25 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/0.9524, allocations: 1.422 kB / 1.25 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.9527, allocations: 26.62 kB / 1.25 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.9528, allocations: 8.438 kB / 1.25 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.9528, allocations: 9.25 kB / 1.25 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00071/0.9536, allocations: 0.5084 MB / 1.25 GB, free: 30.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.71e-07/0.9536, allocations: 0 / 1.25 GB, free: 30.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001004/0.9546, allocations: 320.8 kB / 1.251 GB, free: 30.31 MB / 0.9981 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 (11): * Single equations (assignments): 11 * 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.001686/0.9563, allocations: 1.229 MB / 1.252 GB, free: 29.63 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002127/0.9584, allocations: 1.141 MB / 1.253 GB, free: 29.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.9584, allocations: 0 / 1.253 GB, free: 29.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.9588, allocations: 135.6 kB / 1.253 GB, free: 29.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.9597, allocations: 205.7 kB / 1.253 GB, free: 29.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.9667, allocations: 6.072 MB / 1.259 GB, free: 28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.967, allocations: 0.8994 MB / 1.26 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000627/0.9676, allocations: 192.1 kB / 1.26 GB, free: 27.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.9679, allocations: 200.5 kB / 1.26 GB, free: 27.28 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.9679, allocations: 0 / 1.26 GB, free: 27.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0535/1.021, allocations: 17.57 MB / 1.278 GB, free: 25.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.187/10.21, allocations: 11.33 kB / 1.278 GB, free: 25.95 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches