Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 212 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.072/3.072, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.44 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3484, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1792/0.5275, allocations: 147.7 MB / 1.469 GB, free: 14.19 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.5303, allocations: 1.479 MB / 1.471 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.5305, allocations: 19.81 kB / 1.471 GB, free: 12.69 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.5309, allocations: 154.9 kB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.5326, allocations: 0.704 MB / 1.472 GB, free: 11.83 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.534, allocations: 0.6167 MB / 1.472 GB, free: 11.21 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000813/0.5348, allocations: 0.7051 MB / 1.473 GB, free: 10.51 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.5352, allocations: 190 kB / 1.473 GB, free: 10.32 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009388/0.5361, allocations: 0.5021 MB / 1.474 GB, free: 9.816 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.5364, allocations: 211.1 kB / 1.474 GB, free: 9.609 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.5364, allocations: 24 kB / 1.474 GB, free: 9.586 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.5376, allocations: 0.705 MB / 1.474 GB, free: 8.879 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.5378, allocations: 115.6 kB / 1.475 GB, free: 8.766 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.5379, allocations: 143.4 kB / 1.475 GB, free: 8.625 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.5389, allocations: 0.6891 MB / 1.475 GB, free: 7.934 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5389, allocations: 0 / 1.475 GB, free: 7.934 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5389, allocations: 4 kB / 1.475 GB, free: 7.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.5389, allocations: 0 / 1.475 GB, free: 7.93 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000932/0.5399, allocations: 0.59 MB / 1.476 GB, free: 7.309 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5399, allocations: 8.031 kB / 1.476 GB, free: 7.301 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/0.54, allocations: 58.55 kB / 1.476 GB, free: 7.234 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.541, allocations: 159.6 kB / 1.476 GB, free: 7.078 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.5416, allocations: 256.1 kB / 1.476 GB, free: 6.797 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5416, allocations: 16.44 kB / 1.476 GB, free: 6.781 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.5416, allocations: 20 kB / 1.476 GB, free: 6.762 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.5421, allocations: 275.5 kB / 1.477 GB, free: 6.473 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5422, allocations: 3.984 kB / 1.477 GB, free: 6.469 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.5422, allocations: 16 kB / 1.477 GB, free: 6.453 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5422, allocations: 4 kB / 1.477 GB, free: 6.449 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.5426, allocations: 199.7 kB / 1.477 GB, free: 6.254 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.5439, allocations: 0.9812 MB / 1.478 GB, free: 5.215 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.5442, allocations: 122.5 kB / 1.478 GB, free: 5.086 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.5444, allocations: 92.73 kB / 1.478 GB, free: 4.992 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/0.5448, allocations: 76.14 kB / 1.478 GB, free: 4.918 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5449, allocations: 42.55 kB / 1.478 GB, free: 4.867 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.5449, allocations: 0 / 1.478 GB, free: 4.867 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0007469/0.5456, allocations: 275.6 kB / 1.478 GB, free: 4.594 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.5457, allocations: 59.39 kB / 1.479 GB, free: 4.523 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.546, allocations: 312.5 kB / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.546, allocations: 33.69 kB / 1.479 GB, free: 4.168 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.5462, allocations: 188.1 kB / 1.479 GB, free: 3.977 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.5462, allocations: 59.55 kB / 1.479 GB, free: 3.918 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.5463, allocations: 41.7 kB / 1.479 GB, free: 3.871 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5465, allocations: 342.8 kB / 1.479 GB, free: 3.527 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.5466, allocations: 67.89 kB / 1.48 GB, free: 3.461 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.5469, allocations: 198.1 kB / 1.48 GB, free: 3.23 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.5472, allocations: 194.5 kB / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5472, allocations: 0 / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004578/0.5477, allocations: 241.3 kB / 1.48 GB, free: 2.781 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5477, allocations: 8 kB / 1.48 GB, free: 2.773 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.5477, allocations: 0 / 1.48 GB, free: 2.773 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5477, allocations: 4 kB / 1.48 GB, free: 2.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.5479, allocations: 43.92 kB / 1.48 GB, free: 2.727 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.5479, allocations: 4.094 kB / 1.48 GB, free: 2.723 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.5481, allocations: 35.77 kB / 1.48 GB, free: 2.688 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.5481, allocations: 8 kB / 1.48 GB, free: 2.68 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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 prepare postOptimizeDAE: time 0.0001522/0.5483, allocations: 164.1 kB / 1.48 GB, free: 2.512 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.5483, allocations: 31.81 kB / 1.48 GB, free: 2.48 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.5488, allocations: 212.3 kB / 1.481 GB, free: 2.266 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5488, allocations: 4 kB / 1.481 GB, free: 2.262 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5488, allocations: 4 kB / 1.481 GB, free: 2.258 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5488, allocations: 0 / 1.481 GB, free: 2.258 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.5498, allocations: 0.6357 MB / 1.481 GB, free: 1.551 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5498, allocations: 0 / 1.481 GB, free: 1.551 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.55, allocations: 32.2 kB / 1.481 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.55, allocations: 11.94 kB / 1.481 GB, free: 1.508 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.55, allocations: 4 kB / 1.481 GB, free: 1.504 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.55, allocations: 7.938 kB / 1.481 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.55, allocations: 0 / 1.481 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.5507, allocations: 437.1 kB / 1.482 GB, free: 1.031 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5508, allocations: 47.73 kB / 1.482 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.5508, allocations: 4.047 kB / 1.482 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.551, allocations: 16 kB / 1.482 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.5511, allocations: 15.97 kB / 1.482 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.5511, allocations: 11.94 kB / 1.482 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002268/0.5513, allocations: 223.1 kB / 1.482 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5513, allocations: 0 / 1.482 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003588/0.5517, allocations: 75.92 kB / 1.482 GB, free: 0.6445 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001171/0.5528, allocations: 1.025 MB / 1.483 GB, free: 15.57 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.5532, allocations: 167.7 kB / 1.483 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5532, allocations: 0 / 1.483 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.5534, allocations: 84.52 kB / 1.483 GB, free: 15.32 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.5543, allocations: 168 kB / 1.483 GB, free: 15.17 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.5579, allocations: 2.917 MB / 1.486 GB, free: 12.11 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.5581, allocations: 171.1 kB / 1.486 GB, free: 11.92 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.5583, allocations: 62.94 kB / 1.487 GB, free: 11.86 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.5584, allocations: 91.39 kB / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of SimCode: time 3.8e-07/0.5584, allocations: 0 / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.5996, allocations: 9.978 MB / 1.496 GB, free: 2.086 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.61, allocations: 5.969 kB / 1.496 GB, free: 2.082 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senDyn.port_a.m_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senDyn.V_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.V_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senSteSta.V_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senSteSta.V_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.042995896190405]