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.001463/0.001463, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001638/0.001638, allocations: 219 kB / 22.26 MB, free: 5.125 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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.893/2.893, allocations: 0.49 GB / 0.7951 GB, free: 33.57 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.00187/0.00187, allocations: 67.38 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2794, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1791/0.4585, allocations: 171 MB / 1.493 GB, free: 6.305 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.4614, allocations: 1.559 MB / 1.494 GB, free: 4.742 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.4618, allocations: 15.88 kB / 1.494 GB, free: 4.727 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.4622, allocations: 158.8 kB / 1.495 GB, free: 4.57 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.464, allocations: 0.7391 MB / 1.495 GB, free: 3.828 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.4655, allocations: 0.6308 MB / 1.496 GB, free: 3.199 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008805/0.4663, allocations: 0.709 MB / 1.497 GB, free: 2.488 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.4667, allocations: 189 kB / 1.497 GB, free: 2.301 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009354/0.4676, allocations: 0.4982 MB / 1.497 GB, free: 1.801 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.4679, allocations: 231.1 kB / 1.498 GB, free: 1.574 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.4679, allocations: 20 kB / 1.498 GB, free: 1.555 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.4694, allocations: 0.9352 MB / 1.498 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.4695, allocations: 115.6 kB / 1.499 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.4696, allocations: 167.3 kB / 1.499 GB, free: 348 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009623/0.4706, allocations: 0.7203 MB / 1.499 GB, free: 15.62 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4706, allocations: 0 / 1.499 GB, free: 15.62 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4706, allocations: 3.938 kB / 1.499 GB, free: 15.61 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4706, allocations: 3.938 kB / 1.499 GB, free: 15.61 MB / 1.201 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.0008595/0.4715, allocations: 0.5784 MB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.4715, allocations: 8.031 kB / 1.5 GB, free: 14.99 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.4716, allocations: 58.55 kB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.4726, allocations: 159.6 kB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.4731, allocations: 256.1 kB / 1.5 GB, free: 14.49 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.4731, allocations: 16.44 kB / 1.5 GB, free: 14.47 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.4731, allocations: 24 kB / 1.501 GB, free: 14.45 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.4736, allocations: 279.4 kB / 1.501 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4736, allocations: 3.984 kB / 1.501 GB, free: 14.15 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.4736, allocations: 12 kB / 1.501 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.4736, allocations: 7.938 kB / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.474, allocations: 199.8 kB / 1.501 GB, free: 13.94 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.4754, allocations: 1.171 MB / 1.502 GB, free: 12.67 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.4756, allocations: 126.5 kB / 1.502 GB, free: 12.54 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.4758, allocations: 88.75 kB / 1.502 GB, free: 12.45 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.4763, allocations: 80.11 kB / 1.502 GB, free: 12.37 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4763, allocations: 38.56 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.4763, allocations: 0 / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0007222/0.477, allocations: 283.1 kB / 1.503 GB, free: 12.04 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4771, allocations: 51.41 kB / 1.503 GB, free: 11.98 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.4774, allocations: 316.5 kB / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.4774, allocations: 29.7 kB / 1.503 GB, free: 11.62 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4775, allocations: 180.3 kB / 1.503 GB, free: 11.44 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.4776, allocations: 55.53 kB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.4777, allocations: 49.66 kB / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4778, allocations: 338.8 kB / 1.504 GB, free: 10.99 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.478, allocations: 67.89 kB / 1.504 GB, free: 10.93 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.4782, allocations: 125 kB / 1.504 GB, free: 10.79 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.4785, allocations: 205 kB / 1.504 GB, free: 10.57 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4785, allocations: 0 / 1.504 GB, free: 10.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004371/0.479, allocations: 241.3 kB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.479, allocations: 4 kB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.479, allocations: 4 kB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.479, allocations: 0 / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.4792, allocations: 47.91 kB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4792, allocations: 0 / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.4794, allocations: 31.81 kB / 1.504 GB, free: 10.24 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.4794, allocations: 8 kB / 1.504 GB, free: 10.23 MB / 1.201 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.000144/0.4795, allocations: 161.8 kB / 1.505 GB, free: 10.06 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.4796, allocations: 31.81 kB / 1.505 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.48, allocations: 216.2 kB / 1.505 GB, free: 9.812 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.48, allocations: 0 / 1.505 GB, free: 9.812 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.48, allocations: 3.938 kB / 1.505 GB, free: 9.809 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.48, allocations: 0 / 1.505 GB, free: 9.809 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009924/0.481, allocations: 0.663 MB / 1.505 GB, free: 9.074 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.481, allocations: 224 / 1.505 GB, free: 9.074 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.4812, allocations: 39.97 kB / 1.505 GB, free: 9.035 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4812, allocations: 3.938 kB / 1.505 GB, free: 9.031 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4812, allocations: 4 kB / 1.505 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.4812, allocations: 7.938 kB / 1.505 GB, free: 9.02 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4812, allocations: 0 / 1.505 GB, free: 9.02 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.4818, allocations: 436 kB / 1.506 GB, free: 8.559 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-05/0.4819, allocations: 51.69 kB / 1.506 GB, free: 8.508 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.482, allocations: 8 kB / 1.506 GB, free: 8.5 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.4821, allocations: 16.05 kB / 1.506 GB, free: 8.484 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.4822, allocations: 11.98 kB / 1.506 GB, free: 8.473 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4822, allocations: 8 kB / 1.506 GB, free: 8.465 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002152/0.4824, allocations: 227 kB / 1.506 GB, free: 8.242 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.4824, allocations: 0 / 1.506 GB, free: 8.242 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003601/0.4827, allocations: 79.89 kB / 1.506 GB, free: 8.164 MB / 1.201 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.00103/0.4838, allocations: 1.015 MB / 1.507 GB, free: 7.098 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.4842, allocations: 170 kB / 1.507 GB, free: 6.934 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4842, allocations: 4.188 kB / 1.507 GB, free: 6.93 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.4843, allocations: 79.88 kB / 1.508 GB, free: 6.852 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007958/0.4851, allocations: 165 kB / 1.508 GB, free: 6.695 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.4886, allocations: 2.913 MB / 1.511 GB, free: 3.637 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.489, allocations: 0.7756 MB / 1.511 GB, free: 2.832 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.4892, allocations: 66.94 kB / 1.511 GB, free: 2.77 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.4893, allocations: 91.39 kB / 1.511 GB, free: 2.68 MB / 1.201 GB Notification: Performance of SimCode: time 3.01e-07/0.4893, allocations: 0 / 1.511 GB, free: 2.68 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.5266, allocations: 9.051 MB / 1.52 GB, free: 9.859 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.55, allocations: 14.69 kB / 1.52 GB, free: 9.848 MB / 1.217 GB " [Timeout remaining time 289] (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: 16.584972652000943]