Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.001588/0.001588, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00205/0.00205, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.777 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.098/3.098, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 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.Velocity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_Velocity",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.001966/0.001966, allocations: 70.91 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3496, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1815/0.5311, allocations: 147.7 MB / 1.469 GB, free: 14.13 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003414/0.5345, allocations: 1.493 MB / 1.471 GB, free: 12.64 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.5351, allocations: 19.81 kB / 1.471 GB, free: 12.62 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005945/0.5356, allocations: 154.9 kB / 1.471 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.5376, allocations: 0.7079 MB / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.5394, allocations: 0.6225 MB / 1.472 GB, free: 11.13 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000997/0.5404, allocations: 0.7177 MB / 1.473 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.5408, allocations: 193 kB / 1.473 GB, free: 10.22 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.5419, allocations: 0.5216 MB / 1.474 GB, free: 9.695 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.5423, allocations: 223 kB / 1.474 GB, free: 9.477 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.5424, allocations: 24 kB / 1.474 GB, free: 9.453 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.5436, allocations: 0.705 MB / 1.475 GB, free: 8.746 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.5438, allocations: 115.6 kB / 1.475 GB, free: 8.633 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.544, allocations: 139.4 kB / 1.475 GB, free: 8.496 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.5452, allocations: 0.7085 MB / 1.475 GB, free: 7.785 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5452, allocations: 4 kB / 1.475 GB, free: 7.781 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5452, allocations: 0 / 1.475 GB, free: 7.781 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.5452, allocations: 0 / 1.475 GB, free: 7.781 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00102/0.5462, allocations: 0.594 MB / 1.476 GB, free: 7.152 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5462, allocations: 8.031 kB / 1.476 GB, free: 7.145 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.804e-05/0.5463, allocations: 58.55 kB / 1.476 GB, free: 7.078 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.5474, allocations: 159.5 kB / 1.476 GB, free: 6.922 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.548, allocations: 276.4 kB / 1.477 GB, free: 6.629 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.548, allocations: 20.44 kB / 1.477 GB, free: 6.609 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.5481, allocations: 24 kB / 1.477 GB, free: 6.586 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.5486, allocations: 289 kB / 1.477 GB, free: 6.281 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5486, allocations: 0 / 1.477 GB, free: 6.281 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.5486, allocations: 8 kB / 1.477 GB, free: 6.273 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5486, allocations: 4 kB / 1.477 GB, free: 6.27 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.5491, allocations: 196.9 kB / 1.477 GB, free: 6.078 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.5507, allocations: 1.006 MB / 1.478 GB, free: 5.012 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.551, allocations: 142.4 kB / 1.478 GB, free: 4.863 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.5512, allocations: 92.73 kB / 1.478 GB, free: 4.77 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/0.5516, allocations: 75.92 kB / 1.478 GB, free: 4.695 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.5517, allocations: 34.56 kB / 1.478 GB, free: 4.652 MB / 1.17 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.5517, allocations: 0 / 1.478 GB, free: 4.652 MB / 1.17 GB Notification: Performance of matching and sorting (n=17): time 0.0008126/0.5525, allocations: 298.9 kB / 1.479 GB, free: 4.355 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.5525, allocations: 55.41 kB / 1.479 GB, free: 4.289 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.5529, allocations: 328.5 kB / 1.479 GB, free: 3.957 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.5529, allocations: 29.7 kB / 1.479 GB, free: 3.922 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.5531, allocations: 180.3 kB / 1.479 GB, free: 3.742 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.5531, allocations: 63.44 kB / 1.479 GB, free: 3.68 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.5532, allocations: 49.7 kB / 1.479 GB, free: 3.625 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5534, allocations: 338.8 kB / 1.48 GB, free: 3.285 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.5536, allocations: 75.94 kB / 1.48 GB, free: 3.211 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.5539, allocations: 200 kB / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.5542, allocations: 202.3 kB / 1.48 GB, free: 2.766 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.5542, allocations: 3.984 kB / 1.48 GB, free: 2.762 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005005/0.5547, allocations: 252.3 kB / 1.48 GB, free: 2.512 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5548, allocations: 8 kB / 1.48 GB, free: 2.504 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5548, allocations: 0 / 1.48 GB, free: 2.504 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5548, allocations: 4.094 kB / 1.48 GB, free: 2.5 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.555, allocations: 43.98 kB / 1.48 GB, free: 2.457 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.555, allocations: 15.86 kB / 1.48 GB, free: 2.441 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.5552, allocations: 31.78 kB / 1.48 GB, free: 2.41 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.5552, allocations: 7.984 kB / 1.48 GB, free: 2.402 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 (24): * Single equations (assignments): 24 * 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.0001565/0.5554, allocations: 153.8 kB / 1.481 GB, free: 2.242 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.5554, allocations: 31.81 kB / 1.481 GB, free: 2.211 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.5559, allocations: 238.4 kB / 1.481 GB, free: 1.973 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.5559, allocations: 4.141 kB / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5559, allocations: 0 / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.556, allocations: 7.969 kB / 1.481 GB, free: 1.961 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.557, allocations: 0.6552 MB / 1.482 GB, free: 1.234 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.557, allocations: 4.219 kB / 1.482 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.5572, allocations: 31.98 kB / 1.482 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5572, allocations: 0 / 1.482 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.5572, allocations: 11.94 kB / 1.482 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.5572, allocations: 7.938 kB / 1.482 GB, free: 1.18 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5572, allocations: 4.094 kB / 1.482 GB, free: 1.176 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.558, allocations: 445.1 kB / 1.482 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.5581, allocations: 55.78 kB / 1.482 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.5581, allocations: 11.94 kB / 1.482 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.5583, allocations: 11.98 kB / 1.482 GB, free: 0.625 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.5584, allocations: 11.98 kB / 1.482 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.5584, allocations: 8 kB / 1.482 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002435/0.5586, allocations: 227 kB / 1.482 GB, free: 396 kB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5586, allocations: 4 kB / 1.482 GB, free: 392 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003883/0.559, allocations: 87.88 kB / 1.482 GB, free: 304 kB / 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 (17): * Single equations (assignments): 17 * 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.001168/0.5602, allocations: 1.027 MB / 1.483 GB, free: 15.22 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.5606, allocations: 177.5 kB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5606, allocations: 0 / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.5608, allocations: 96 kB / 1.484 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.5617, allocations: 162.8 kB / 1.484 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.5656, allocations: 3.013 MB / 1.487 GB, free: 11.64 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.5658, allocations: 175.8 kB / 1.487 GB, free: 11.45 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.566, allocations: 70.91 kB / 1.487 GB, free: 11.38 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.5662, allocations: 91.41 kB / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.5662, allocations: 0 / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.6075, allocations: 10.18 MB / 1.497 GB, free: 1.406 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.71, allocations: 0 / 1.497 GB, free: 1.406 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_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_Velocity.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senDyn.v in file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.v from file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senSteSta.v in file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senSteSta.v from file Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.242386751342565]