Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_latest_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.008222/0.008222, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.002014/0.002014, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.561/2.561, allocations: 469.4 MB / 0.7422 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 1.064 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7262/0.7281, allocations: 159.1 MB / 1.22 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003256/0.7314, allocations: 2.306 MB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00567/0.7371, allocations: 3.788 MB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.7375, allocations: 7.938 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.7402, allocations: 1.044 MB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009162/0.7411, allocations: 426.4 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.7422, allocations: 0.5146 MB / 1.228 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004571/0.7468, allocations: 3.151 MB / 1.231 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.747, allocations: 40.73 kB / 1.231 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.7474, allocations: 227.3 kB / 1.231 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003423/0.7477, allocations: 215.2 kB / 1.231 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.7478, allocations: 20 kB / 1.231 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.7491, allocations: 0.7447 MB / 1.232 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.7494, allocations: 223.4 kB / 1.232 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.7496, allocations: 254.5 kB / 1.232 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.7513, allocations: 1.067 MB / 1.233 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7514, allocations: 0 / 1.233 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7514, allocations: 0 / 1.233 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.7514, allocations: 0 / 1.233 GB, free: 4.148 MB / 0.9512 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.00159/0.753, allocations: 0.9479 MB / 1.234 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.753, allocations: 12.62 kB / 1.234 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.7531, allocations: 42.75 kB / 1.234 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.7544, allocations: 212.3 kB / 1.235 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00597/0.7604, allocations: 3.596 MB / 1.238 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.7604, allocations: 11.94 kB / 1.238 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.7605, allocations: 16 kB / 1.238 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.761, allocations: 260 kB / 1.238 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.7611, allocations: 3.984 kB / 1.238 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.7611, allocations: 3.938 kB / 1.238 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.7611, allocations: 4 kB / 1.238 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.7618, allocations: 239.8 kB / 1.239 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.7632, allocations: 0.8318 MB / 1.239 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.7639, allocations: 310.6 kB / 1.24 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.7642, allocations: 116.8 kB / 1.24 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.7642, allocations: 0 / 1.24 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.7643, allocations: 42.5 kB / 1.24 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.7643, allocations: 0 / 1.24 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.001173/0.7655, allocations: 445 kB / 1.24 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.7655, allocations: 51.41 kB / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000829/0.7663, allocations: 0.7579 MB / 1.241 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.7664, allocations: 33.7 kB / 1.241 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.7666, allocations: 232.8 kB / 1.241 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.7666, allocations: 43.67 kB / 1.241 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.7668, allocations: 158 kB / 1.242 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.767, allocations: 374.8 kB / 1.242 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.7677, allocations: 442.9 kB / 1.242 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/0.7684, allocations: 0.5239 MB / 1.243 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.7696, allocations: 0.8624 MB / 1.244 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7696, allocations: 4 kB / 1.244 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001593/0.7712, allocations: 1.077 MB / 1.245 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7713, allocations: 8 kB / 1.245 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7713, allocations: 0 / 1.245 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.7713, allocations: 4 kB / 1.245 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.7718, allocations: 115.9 kB / 1.245 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.7718, allocations: 8.312 kB / 1.245 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.7722, allocations: 79.41 kB / 1.245 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/0.7723, allocations: 35.98 kB / 1.245 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007792/0.7731, allocations: 0.5403 MB / 1.245 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006403/0.7737, allocations: 464.4 kB / 1.246 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001105/0.7749, allocations: 0.7276 MB / 1.247 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.7749, allocations: 0 / 1.247 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001471/0.7764, allocations: 0.9226 MB / 1.248 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7764, allocations: 17.64 kB / 1.248 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.7764, allocations: 0 / 1.248 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/0.7764, allocations: 4 kB / 1.248 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.7768, allocations: 103.9 kB / 1.248 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7769, allocations: 4 kB / 1.248 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.7773, allocations: 51.81 kB / 1.248 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.7774, allocations: 27.98 kB / 1.248 GB, free: 5.102 MB / 0.9669 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.0001565/0.7775, allocations: 212 kB / 1.248 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.7776, allocations: 55.58 kB / 1.248 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009723/0.7786, allocations: 362.7 kB / 1.248 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7786, allocations: 0 / 1.248 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7786, allocations: 4 kB / 1.248 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7786, allocations: 0 / 1.248 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.7791, allocations: 417.3 kB / 1.249 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7791, allocations: 4 kB / 1.249 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.7794, allocations: 39.91 kB / 1.249 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.7794, allocations: 0 / 1.249 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.7794, allocations: 4 kB / 1.249 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.7794, allocations: 3.984 kB / 1.249 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7794, allocations: 0 / 1.249 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.7802, allocations: 430.9 kB / 1.249 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.7804, allocations: 156.6 kB / 1.249 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.7805, allocations: 7.938 kB / 1.249 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.7808, allocations: 27.91 kB / 1.249 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.7809, allocations: 11.98 kB / 1.249 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.7809, allocations: 8 kB / 1.249 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005964/0.7815, allocations: 0.5107 MB / 1.25 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7815, allocations: 0 / 1.25 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001042/0.7826, allocations: 315.6 kB / 1.25 GB, free: 2.48 MB / 0.9669 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.002348/0.7849, allocations: 1.231 MB / 1.251 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002226/0.7872, allocations: 1.141 MB / 1.253 GB, free: 76 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7872, allocations: 0 / 1.253 GB, free: 76 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.7875, allocations: 132.3 kB / 1.253 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009471/0.7885, allocations: 196.1 kB / 1.253 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008594/0.7971, allocations: 6.078 MB / 1.259 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.7976, allocations: 0.9012 MB / 1.26 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006337/0.7983, allocations: 196.3 kB / 1.26 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.7986, allocations: 199.3 kB / 1.26 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of SimCode: time 1.112e-06/0.7986, allocations: 0 / 1.26 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/0.8382, allocations: 17.56 MB / 1.277 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.062/9.9, allocations: 15.41 kB / 1.277 GB, free: 6.965 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches