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.0073/0.007306, allocations: 99.56 kB / 15.73 MB, free: 6.035 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.001401/0.001401, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.541/2.541, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 71.98 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3491, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004361/0.3535, allocations: 2.024 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.358, allocations: 2.031 MB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.3584, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.3595, allocations: 251 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.3606, allocations: 291 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3619, allocations: 499.2 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009769/0.3629, allocations: 458.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.3631, allocations: 48.3 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/0.3635, allocations: 167.5 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.364, allocations: 171.4 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.364, allocations: 16 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000846/0.3649, allocations: 447.2 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.3651, allocations: 99.75 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.3653, allocations: 119.3 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3664, allocations: 0.5918 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3664, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.697e-06/0.3664, allocations: 4 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.3664, allocations: 0 / 1.094 GB, free: 10.82 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.001291/0.3677, allocations: 0.595 MB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3678, allocations: 8.031 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.99e-05/0.3679, allocations: 42.75 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.3689, allocations: 140.6 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/0.3697, allocations: 344.5 kB / 1.096 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.3697, allocations: 12.38 kB / 1.096 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.3697, allocations: 12.38 kB / 1.096 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.3704, allocations: 197.5 kB / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3704, allocations: 0 / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.3704, allocations: 0 / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3704, allocations: 4 kB / 1.096 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.3712, allocations: 203.8 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3725, allocations: 0.5594 MB / 1.097 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.3732, allocations: 210.3 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.3736, allocations: 100.8 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.3736, allocations: 7.984 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3737, allocations: 34.56 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.3737, allocations: 0 / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001313/0.375, allocations: 345.4 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.3751, allocations: 55.34 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.3755, allocations: 336.5 kB / 1.098 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.3755, allocations: 29.7 kB / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3757, allocations: 152.1 kB / 1.098 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.3757, allocations: 27.75 kB / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.3758, allocations: 49.69 kB / 1.098 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.376, allocations: 338.8 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.3764, allocations: 152.8 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.3769, allocations: 208.2 kB / 1.098 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.3778, allocations: 338.4 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3779, allocations: 0 / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001054/0.3789, allocations: 413.3 kB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3789, allocations: 5.562 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.379, allocations: 0 / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.379, allocations: 4 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.3794, allocations: 67.88 kB / 1.099 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.3794, allocations: 11.94 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.3797, allocations: 35.77 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.3797, allocations: 19.98 kB / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005168/0.3803, allocations: 253.9 kB / 1.1 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004491/0.3807, allocations: 178.8 kB / 1.1 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008149/0.3815, allocations: 306.6 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.3816, allocations: 4 kB / 1.1 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0009789/0.3825, allocations: 361.1 kB / 1.1 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3826, allocations: 8.219 kB / 1.1 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3826, allocations: 4 kB / 1.1 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/0.3826, allocations: 0 / 1.1 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.3829, allocations: 59.89 kB / 1.1 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3829, allocations: 4 kB / 1.1 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.3832, allocations: 39.86 kB / 1.1 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.3832, allocations: 8 kB / 1.101 GB, free: 4.305 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.0001509/0.3834, allocations: 196.1 kB / 1.101 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.3835, allocations: 35.8 kB / 1.101 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009528/0.3844, allocations: 280.5 kB / 1.101 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3844, allocations: 0 / 1.101 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3845, allocations: 3.938 kB / 1.101 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3845, allocations: 0 / 1.101 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.3849, allocations: 293.9 kB / 1.101 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3849, allocations: 0 / 1.101 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.3851, allocations: 35.97 kB / 1.101 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3852, allocations: 0 / 1.101 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3852, allocations: 11.94 kB / 1.101 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3852, allocations: 0 / 1.101 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.3852, allocations: 7.922 kB / 1.101 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.3862, allocations: 347.2 kB / 1.102 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.3863, allocations: 116.9 kB / 1.102 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.3864, allocations: 8 kB / 1.102 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.3867, allocations: 23.97 kB / 1.102 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.3867, allocations: 7.938 kB / 1.102 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3868, allocations: 7.984 kB / 1.102 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002972/0.3871, allocations: 243 kB / 1.102 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3871, allocations: 0 / 1.102 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007535/0.3878, allocations: 147.7 kB / 1.102 GB, free: 2.477 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.001716/0.3896, allocations: 0.9894 MB / 1.103 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.391, allocations: 436.3 kB / 1.104 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3911, allocations: 4.062 kB / 1.104 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.3915, allocations: 107.9 kB / 1.104 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.3921, allocations: 111.2 kB / 1.104 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.3982, allocations: 3.239 MB / 1.107 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.3986, allocations: 0.7717 MB / 1.108 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003339/0.399, allocations: 78.94 kB / 1.108 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.3992, allocations: 95.39 kB / 1.108 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of SimCode: time 1.293e-06/0.3992, allocations: 0 / 1.108 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.4334, allocations: 9.522 MB / 1.117 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.608, allocations: 12.05 kB / 1.117 GB, free: 3.156 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