Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_10_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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 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.001252/0.001252, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.673/2.673, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5878/0.5893, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003419/0.5928, allocations: 2.305 MB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.005694/0.5985, allocations: 3.788 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.5988, allocations: 11.94 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005453/0.6043, allocations: 2.997 MB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000883/0.6052, allocations: 406.4 kB / 1.027 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.6062, allocations: 0.5029 MB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004267/0.6105, allocations: 3.097 MB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.6107, allocations: 36.75 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.6112, allocations: 203.3 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.6116, allocations: 207.2 kB / 1.031 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.6117, allocations: 20 kB / 1.031 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.6131, allocations: 0.7447 MB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.6134, allocations: 215.4 kB / 1.032 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.6137, allocations: 250.5 kB / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.6157, allocations: 1.04 MB / 1.033 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.6157, allocations: 8 kB / 1.033 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6157, allocations: 0 / 1.033 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.6157, allocations: 0 / 1.033 GB, free: 2.609 MB / 0.7794 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.002246/0.618, allocations: 0.9099 MB / 1.034 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.618, allocations: 12.03 kB / 1.034 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.6181, allocations: 34.75 kB / 1.034 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.6195, allocations: 212 kB / 1.034 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005787/0.6253, allocations: 3.58 MB / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.6253, allocations: 16 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.6254, allocations: 12 kB / 1.038 GB, free: 13.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.626, allocations: 258.4 kB / 1.038 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.626, allocations: 0 / 1.038 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.6261, allocations: 4 kB / 1.038 GB, free: 13.47 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.6261, allocations: 4 kB / 1.038 GB, free: 13.47 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.6268, allocations: 239.8 kB / 1.038 GB, free: 13.23 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.6284, allocations: 0.8279 MB / 1.039 GB, free: 12.36 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.6292, allocations: 314.4 kB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.6295, allocations: 120.8 kB / 1.039 GB, free: 11.92 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.6296, allocations: 11.98 kB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.6296, allocations: 30.56 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.893e-06/0.6296, allocations: 0 / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.001294/0.6309, allocations: 452.9 kB / 1.04 GB, free: 11.42 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.631, allocations: 51.41 kB / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009456/0.6319, allocations: 0.7538 MB / 1.04 GB, free: 10.59 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.6319, allocations: 33.7 kB / 1.04 GB, free: 10.55 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.6322, allocations: 228.8 kB / 1.041 GB, free: 10.33 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.6322, allocations: 39.44 kB / 1.041 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.6324, allocations: 162 kB / 1.041 GB, free: 10.12 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.6326, allocations: 378.7 kB / 1.041 GB, free: 9.746 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.6334, allocations: 442.9 kB / 1.042 GB, free: 9.309 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008194/0.6342, allocations: 0.5356 MB / 1.042 GB, free: 8.742 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.6356, allocations: 0.8741 MB / 1.043 GB, free: 7.844 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.6356, allocations: 3.938 kB / 1.043 GB, free: 7.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001758/0.6374, allocations: 1.069 MB / 1.044 GB, free: 6.762 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.6374, allocations: 14.03 kB / 1.044 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6374, allocations: 0 / 1.044 GB, free: 6.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.6375, allocations: 4 kB / 1.044 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.638, allocations: 115.8 kB / 1.044 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.638, allocations: 4 kB / 1.044 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.6384, allocations: 71.34 kB / 1.044 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.6385, allocations: 32 kB / 1.044 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008067/0.6393, allocations: 0.5442 MB / 1.045 GB, free: 5.977 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006796/0.64, allocations: 468.4 kB / 1.045 GB, free: 5.488 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001167/0.6412, allocations: 0.7237 MB / 1.046 GB, free: 4.746 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.511e-06/0.6412, allocations: 4 kB / 1.046 GB, free: 4.742 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001593/0.6428, allocations: 0.93 MB / 1.047 GB, free: 3.809 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6428, allocations: 4 kB / 1.047 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6428, allocations: 4 kB / 1.047 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.6428, allocations: 4 kB / 1.047 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.6433, allocations: 107.8 kB / 1.047 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6433, allocations: 4 kB / 1.047 GB, free: 3.688 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.6437, allocations: 59.64 kB / 1.047 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.6438, allocations: 24 kB / 1.047 GB, free: 3.605 MB / 0.795 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.0001707/0.644, allocations: 200.1 kB / 1.047 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.6441, allocations: 55.25 kB / 1.047 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.6451, allocations: 370.8 kB / 1.048 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.6451, allocations: 0 / 1.048 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6452, allocations: 0 / 1.048 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6452, allocations: 4 kB / 1.048 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.6457, allocations: 425.2 kB / 1.048 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6457, allocations: 0 / 1.048 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.646, allocations: 43.95 kB / 1.048 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.646, allocations: 4 kB / 1.048 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.646, allocations: 0 / 1.048 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.646, allocations: 0 / 1.048 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.646, allocations: 4 kB / 1.048 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008551/0.6469, allocations: 430.5 kB / 1.049 GB, free: 2.016 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.6471, allocations: 148.3 kB / 1.049 GB, free: 1.852 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.6472, allocations: 3.984 kB / 1.049 GB, free: 1.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.6475, allocations: 19.98 kB / 1.049 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.6475, allocations: 11.98 kB / 1.049 GB, free: 1.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.6476, allocations: 8 kB / 1.049 GB, free: 1.809 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005887/0.6481, allocations: 0.5068 MB / 1.049 GB, free: 1.305 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6482, allocations: 0 / 1.049 GB, free: 1.305 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009304/0.6491, allocations: 319.8 kB / 1.05 GB, free: 0.9922 MB / 0.795 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.0021/0.6512, allocations: 1.233 MB / 1.051 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.6533, allocations: 1.151 MB / 1.052 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6534, allocations: 4 kB / 1.052 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.6537, allocations: 136.2 kB / 1.052 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.6547, allocations: 192.8 kB / 1.052 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008554/0.6633, allocations: 6.097 MB / 1.058 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.6638, allocations: 0.8895 MB / 1.059 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007256/0.6646, allocations: 196.2 kB / 1.059 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.665, allocations: 199.3 kB / 1.059 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of SimCode: time 7.41e-07/0.665, allocations: 0 / 1.059 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.7069, allocations: 17.45 MB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.8, allocations: 4.438 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches