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.001781/0.001781, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002085/0.002085, allocations: 216.3 kB / 22.24 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.789 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 2.988/2.988, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.00194/0.00194, allocations: 67.28 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3424, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1825/0.5249, allocations: 147.7 MB / 1.47 GB, free: 13.31 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.5278, allocations: 1.479 MB / 1.472 GB, free: 11.83 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.5281, allocations: 19.88 kB / 1.472 GB, free: 11.81 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.5286, allocations: 146.9 kB / 1.472 GB, free: 11.67 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.5303, allocations: 0.7039 MB / 1.472 GB, free: 10.96 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.5318, allocations: 0.6228 MB / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008796/0.5327, allocations: 0.709 MB / 1.474 GB, free: 9.629 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.533, allocations: 191 kB / 1.474 GB, free: 9.441 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009766/0.534, allocations: 0.506 MB / 1.474 GB, free: 8.934 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.5343, allocations: 223.1 kB / 1.475 GB, free: 8.715 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.5344, allocations: 24 kB / 1.475 GB, free: 8.691 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.5355, allocations: 0.7206 MB / 1.475 GB, free: 7.969 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.5357, allocations: 111.6 kB / 1.475 GB, free: 7.859 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.5358, allocations: 143.4 kB / 1.476 GB, free: 7.719 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000989/0.5368, allocations: 0.693 MB / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5368, allocations: 0 / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5368, allocations: 0 / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5368, allocations: 0 / 1.476 GB, free: 7.023 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.0008907/0.5377, allocations: 0.5862 MB / 1.477 GB, free: 6.406 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5378, allocations: 12.02 kB / 1.477 GB, free: 6.395 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.523e-05/0.5378, allocations: 54.55 kB / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.5389, allocations: 163.6 kB / 1.477 GB, free: 6.172 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.5394, allocations: 252.1 kB / 1.477 GB, free: 5.895 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.5394, allocations: 20.42 kB / 1.477 GB, free: 5.875 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.5394, allocations: 28 kB / 1.477 GB, free: 5.848 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.5399, allocations: 271.5 kB / 1.478 GB, free: 5.562 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5399, allocations: 3.938 kB / 1.478 GB, free: 5.559 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.5399, allocations: 12 kB / 1.478 GB, free: 5.547 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.5399, allocations: 4 kB / 1.478 GB, free: 5.543 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.5403, allocations: 199.8 kB / 1.478 GB, free: 5.348 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.5417, allocations: 0.9773 MB / 1.479 GB, free: 4.312 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.542, allocations: 126.5 kB / 1.479 GB, free: 4.18 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.5421, allocations: 88.8 kB / 1.479 GB, free: 4.09 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004366/0.5426, allocations: 80.14 kB / 1.479 GB, free: 4.012 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.5426, allocations: 30.56 kB / 1.479 GB, free: 3.973 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.5426, allocations: 0 / 1.479 GB, free: 3.973 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0007453/0.5433, allocations: 279.7 kB / 1.479 GB, free: 3.695 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.5434, allocations: 59.41 kB / 1.479 GB, free: 3.625 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.5437, allocations: 320.5 kB / 1.48 GB, free: 3.301 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.5437, allocations: 25.7 kB / 1.48 GB, free: 3.27 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.5439, allocations: 188.2 kB / 1.48 GB, free: 3.078 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.5439, allocations: 59.47 kB / 1.48 GB, free: 3.02 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.544, allocations: 49.59 kB / 1.48 GB, free: 2.965 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.5442, allocations: 338.8 kB / 1.48 GB, free: 2.625 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.5444, allocations: 75.94 kB / 1.48 GB, free: 2.551 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.5447, allocations: 195.1 kB / 1.481 GB, free: 2.324 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.545, allocations: 196.9 kB / 1.481 GB, free: 2.117 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.545, allocations: 0 / 1.481 GB, free: 2.117 MB / 1.17 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004714/0.5455, allocations: 237.3 kB / 1.481 GB, free: 1.879 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5455, allocations: 12.09 kB / 1.481 GB, free: 1.867 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5455, allocations: 3.984 kB / 1.481 GB, free: 1.863 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5456, allocations: 4 kB / 1.481 GB, free: 1.859 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.5458, allocations: 43.92 kB / 1.481 GB, free: 1.816 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.5458, allocations: 4 kB / 1.481 GB, free: 1.812 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.546, allocations: 27.77 kB / 1.481 GB, free: 1.785 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.546, allocations: 12 kB / 1.481 GB, free: 1.773 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.000159/0.5461, allocations: 157.7 kB / 1.481 GB, free: 1.609 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.5462, allocations: 31.8 kB / 1.481 GB, free: 1.578 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.5467, allocations: 216.3 kB / 1.481 GB, free: 1.359 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.5467, allocations: 4 kB / 1.481 GB, free: 1.355 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5467, allocations: 0 / 1.481 GB, free: 1.355 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5467, allocations: 0 / 1.481 GB, free: 1.355 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.5477, allocations: 0.6397 MB / 1.482 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5477, allocations: 0 / 1.482 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.5479, allocations: 31.97 kB / 1.482 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.5479, allocations: 7.938 kB / 1.482 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.5479, allocations: 4 kB / 1.482 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.5479, allocations: 7.938 kB / 1.482 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5479, allocations: 80 / 1.482 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.5486, allocations: 447 kB / 1.483 GB, free: 124 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.5487, allocations: 47.73 kB / 1.483 GB, free: 76 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.5488, allocations: 4 kB / 1.483 GB, free: 72 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.5489, allocations: 11.98 kB / 1.483 GB, free: 60 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.549, allocations: 11.98 kB / 1.483 GB, free: 48 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.549, allocations: 8 kB / 1.483 GB, free: 40 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002465/0.5492, allocations: 231 kB / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5492, allocations: 0 / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004353/0.5497, allocations: 79.92 kB / 1.483 GB, free: 15.73 MB / 1.186 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.001118/0.5508, allocations: 1.015 MB / 1.484 GB, free: 14.67 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.5512, allocations: 172.1 kB / 1.484 GB, free: 14.5 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5512, allocations: 0 / 1.484 GB, free: 14.5 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.5514, allocations: 83.81 kB / 1.484 GB, free: 14.42 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008983/0.5523, allocations: 172 kB / 1.484 GB, free: 14.25 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.5561, allocations: 2.912 MB / 1.487 GB, free: 11.2 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.5563, allocations: 167.2 kB / 1.487 GB, free: 11.01 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.5565, allocations: 70.91 kB / 1.487 GB, free: 10.95 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5566, allocations: 91.34 kB / 1.487 GB, free: 10.86 MB / 1.186 GB Notification: Performance of SimCode: time 6.71e-07/0.5566, allocations: 0 / 1.487 GB, free: 10.86 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03899/0.5956, allocations: 10.06 MB / 1.497 GB, free: 1.094 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.44, allocations: 3.688 kB / 1.497 GB, free: 1.094 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: 17.855490007001208]