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.005539/0.005539, allocations: 96.39 kB / 15.73 MB, free: 6.039 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.001347/0.001347, allocations: 198.4 kB / 16.68 MB, free: 5.969 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.671/2.671, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3078, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003907/0.3118, allocations: 2.303 MB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006598/0.3184, allocations: 3.776 MB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.3188, allocations: 11.94 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.3219, allocations: 1.048 MB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009639/0.3228, allocations: 422.2 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.324, allocations: 0.5146 MB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005001/0.3291, allocations: 3.152 MB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3292, allocations: 44.73 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.3296, allocations: 223.3 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.3299, allocations: 215.2 kB / 1.178 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.33, allocations: 20 kB / 1.178 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.3313, allocations: 0.7486 MB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.3316, allocations: 215.4 kB / 1.179 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.3318, allocations: 254.5 kB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.3333, allocations: 1.074 MB / 1.18 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3334, allocations: 0 / 1.18 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3334, allocations: 0 / 1.18 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.3334, allocations: 0 / 1.18 GB, free: 9.246 MB / 0.9356 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.0016/0.335, allocations: 0.9403 MB / 1.181 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.335, allocations: 15.97 kB / 1.181 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.3351, allocations: 42.75 kB / 1.181 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.3364, allocations: 212.3 kB / 1.181 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006481/0.3429, allocations: 3.596 MB / 1.185 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3429, allocations: 8 kB / 1.185 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.343, allocations: 15.94 kB / 1.185 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.3436, allocations: 257.4 kB / 1.185 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3436, allocations: 0 / 1.185 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.3436, allocations: 4 kB / 1.185 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3437, allocations: 3.984 kB / 1.185 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.3444, allocations: 243.8 kB / 1.185 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3458, allocations: 0.8201 MB / 1.186 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/0.3466, allocations: 306.6 kB / 1.186 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.347, allocations: 120.7 kB / 1.186 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.347, allocations: 4 kB / 1.186 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.347, allocations: 34.56 kB / 1.186 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.3471, allocations: 0 / 1.186 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.001288/0.3483, allocations: 449.2 kB / 1.187 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.3484, allocations: 51.5 kB / 1.187 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/0.3494, allocations: 0.7694 MB / 1.188 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.3494, allocations: 29.7 kB / 1.188 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.3496, allocations: 236.9 kB / 1.188 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.3497, allocations: 39.67 kB / 1.188 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.3499, allocations: 158 kB / 1.188 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.3501, allocations: 374.8 kB / 1.188 GB, free: 340 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/0.3509, allocations: 438.9 kB / 1.189 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.3517, allocations: 0.5316 MB / 1.189 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.3531, allocations: 0.8664 MB / 1.19 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3532, allocations: 0 / 1.19 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001825/0.355, allocations: 1.076 MB / 1.191 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.355, allocations: 4 kB / 1.191 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.3551, allocations: 4 kB / 1.191 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3551, allocations: 7.984 kB / 1.191 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.3556, allocations: 112 kB / 1.191 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.3556, allocations: 7.938 kB / 1.191 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.3561, allocations: 71.53 kB / 1.191 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.3561, allocations: 35.98 kB / 1.191 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008634/0.357, allocations: 0.5442 MB / 1.192 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007159/0.3577, allocations: 460.5 kB / 1.192 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00125/0.359, allocations: 0.7276 MB / 1.193 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.359, allocations: 4 kB / 1.193 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001645/0.3607, allocations: 0.9303 MB / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3607, allocations: 4 kB / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3607, allocations: 4 kB / 1.194 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.3607, allocations: 4 kB / 1.194 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.3612, allocations: 103.9 kB / 1.194 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3612, allocations: 4 kB / 1.194 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.3616, allocations: 59.73 kB / 1.194 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.3617, allocations: 24 kB / 1.194 GB, free: 10.2 MB / 0.9512 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.0001914/0.3619, allocations: 204.1 kB / 1.194 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.345e-05/0.362, allocations: 55.62 kB / 1.194 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.363, allocations: 358.7 kB / 1.195 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.363, allocations: 4 kB / 1.195 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3631, allocations: 3.984 kB / 1.195 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3631, allocations: 4 kB / 1.195 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.3636, allocations: 417 kB / 1.195 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3636, allocations: 0 / 1.195 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.3639, allocations: 43.91 kB / 1.195 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3639, allocations: 0 / 1.195 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3639, allocations: 7.984 kB / 1.195 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3639, allocations: 0 / 1.195 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3639, allocations: 0 / 1.195 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.3648, allocations: 434.9 kB / 1.196 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.365, allocations: 152.6 kB / 1.196 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.3651, allocations: 0 / 1.196 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.3654, allocations: 27.97 kB / 1.196 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.3655, allocations: 15.98 kB / 1.196 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.3655, allocations: 8 kB / 1.196 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006935/0.3662, allocations: 0.5146 MB / 1.196 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3662, allocations: 0 / 1.196 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009457/0.3671, allocations: 319.5 kB / 1.197 GB, free: 7.582 MB / 0.9512 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.001876/0.369, allocations: 1.223 MB / 1.198 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.3711, allocations: 1.146 MB / 1.199 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3711, allocations: 0.6875 kB / 1.199 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.3715, allocations: 131.9 kB / 1.199 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008585/0.3724, allocations: 203.2 kB / 1.199 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008859/0.3812, allocations: 6.068 MB / 1.205 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.3819, allocations: 0.8973 MB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006916/0.3826, allocations: 196.3 kB / 1.206 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.3829, allocations: 199.3 kB / 1.206 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3829, allocations: 0 / 1.206 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04616/0.4291, allocations: 17.57 MB / 1.224 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.184/9.613, allocations: 11.02 kB / 1.224 GB, free: 12.06 MB / 0.9825 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