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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.00443/0.00443, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001276/0.001276, allocations: 196.1 kB / 16.68 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.39/1.39, 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 12.0.0-master/package.mo): time 2.769/2.769, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 69.25 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2861, allocations: 162.2 MB / 1.241 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003555/0.2897, allocations: 2.323 MB / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.2957, allocations: 3.788 MB / 1.247 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.2959, allocations: 11.94 kB / 1.247 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.2986, allocations: 1.06 MB / 1.248 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008124/0.2994, allocations: 426.4 kB / 1.249 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3004, allocations: 0.5177 MB / 1.249 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004805/0.3053, allocations: 3.175 MB / 1.252 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3054, allocations: 40.73 kB / 1.253 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.3057, allocations: 223.3 kB / 1.253 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.306, allocations: 215.2 kB / 1.253 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.3061, allocations: 20 kB / 1.253 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.3073, allocations: 0.7564 MB / 1.254 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.3075, allocations: 211.4 kB / 1.254 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.3078, allocations: 258.5 kB / 1.254 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.3091, allocations: 1.07 MB / 1.255 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3091, allocations: 4 kB / 1.255 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3091, allocations: 0 / 1.255 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3092, allocations: 0 / 1.255 GB, free: 11.17 MB / 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.001526/0.3107, allocations: 0.9403 MB / 1.256 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3107, allocations: 8.031 kB / 1.256 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.3108, allocations: 42.73 kB / 1.256 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.3121, allocations: 216.3 kB / 1.256 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006467/0.3186, allocations: 3.6 MB / 1.26 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3186, allocations: 8 kB / 1.26 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.3187, allocations: 12 kB / 1.26 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.3192, allocations: 257.4 kB / 1.26 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3193, allocations: 0 / 1.26 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.3193, allocations: 7.938 kB / 1.26 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3193, allocations: 4 kB / 1.26 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/0.32, allocations: 231.8 kB / 1.26 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.3214, allocations: 0.8281 MB / 1.261 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.3222, allocations: 302.6 kB / 1.261 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.3225, allocations: 124.8 kB / 1.262 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.3226, allocations: 3.984 kB / 1.262 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3226, allocations: 38.56 kB / 1.262 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 3.115e-06/0.3226, allocations: 0 / 1.262 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.001261/0.3239, allocations: 444.9 kB / 1.262 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.3239, allocations: 59.41 kB / 1.262 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009172/0.3249, allocations: 0.7617 MB / 1.263 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.3249, allocations: 25.7 kB / 1.263 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.3251, allocations: 236.9 kB / 1.263 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.3252, allocations: 43.69 kB / 1.263 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.3254, allocations: 154 kB / 1.263 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3256, allocations: 366.8 kB / 1.264 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007441/0.3263, allocations: 450.9 kB / 1.264 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008075/0.3272, allocations: 0.5239 MB / 1.265 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.3286, allocations: 0.8663 MB / 1.265 GB, free: 388 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3286, allocations: 8 kB / 1.265 GB, free: 380 kB / 0.9825 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001824/0.3304, allocations: 1.081 MB / 1.266 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3304, allocations: 8 kB / 1.267 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3305, allocations: 0 / 1.267 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3305, allocations: 4 kB / 1.267 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.331, allocations: 115.8 kB / 1.267 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.331, allocations: 4 kB / 1.267 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.3315, allocations: 71.53 kB / 1.267 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.3315, allocations: 31.98 kB / 1.267 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008681/0.3324, allocations: 0.5443 MB / 1.267 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007424/0.3332, allocations: 472.8 kB / 1.268 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001226/0.3344, allocations: 0.7159 MB / 1.268 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.147e-06/0.3344, allocations: 4 kB / 1.268 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001613/0.336, allocations: 0.9303 MB / 1.269 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.336, allocations: 8 kB / 1.269 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3361, allocations: 0 / 1.269 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.3361, allocations: 4 kB / 1.269 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.3365, allocations: 107.9 kB / 1.269 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3365, allocations: 7.938 kB / 1.269 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.337, allocations: 59.73 kB / 1.269 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.337, allocations: 24 kB / 1.27 GB, free: 12.12 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.0001693/0.3372, allocations: 208.1 kB / 1.27 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/0.3373, allocations: 63.58 kB / 1.27 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.3383, allocations: 354.8 kB / 1.27 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3384, allocations: 0 / 1.27 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3384, allocations: 0 / 1.27 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3384, allocations: 0 / 1.27 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.3389, allocations: 421.3 kB / 1.271 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3389, allocations: 4 kB / 1.271 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.3392, allocations: 39.95 kB / 1.271 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3392, allocations: 0 / 1.271 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.3392, allocations: 8 kB / 1.271 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3393, allocations: 0 / 1.271 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3393, allocations: 0 / 1.271 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/0.3401, allocations: 434.8 kB / 1.271 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.3403, allocations: 148.7 kB / 1.271 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.3404, allocations: 7.984 kB / 1.271 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.3407, allocations: 15.98 kB / 1.271 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.3408, allocations: 11.98 kB / 1.271 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.3408, allocations: 12 kB / 1.271 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006798/0.3415, allocations: 0.5068 MB / 1.272 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3415, allocations: 3.938 kB / 1.272 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000914/0.3424, allocations: 323.5 kB / 1.272 GB, free: 9.512 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.001964/0.3444, allocations: 1.227 MB / 1.273 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.3466, allocations: 1.142 MB / 1.274 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3466, allocations: 0 / 1.274 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.347, allocations: 132.3 kB / 1.274 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008751/0.3479, allocations: 203.4 kB / 1.275 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/0.3573, allocations: 6.114 MB / 1.281 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.3579, allocations: 0.8973 MB / 1.281 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006224/0.3585, allocations: 196.3 kB / 1.282 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.3589, allocations: 199.3 kB / 1.282 GB, free: 15.24 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.3589, allocations: 0 / 1.282 GB, free: 15.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04719/0.4061, allocations: 17.55 MB / 1.299 GB, free: 13.96 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.124/9.53, allocations: 19.25 kB / 1.299 GB, free: 13.95 MB / 1.029 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 400 --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