Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001207/0.001207, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00136/0.00136, allocations: 214.9 kB / 22.25 MB, free: 5.078 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.92/2.92, allocations: 0.505 GB / 0.8101 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_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.00187/0.00187, allocations: 64.75 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3133, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1921/0.5054, allocations: 171.1 MB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.5083, allocations: 1.564 MB / 1.521 GB, free: 11.2 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.5085, allocations: 19.88 kB / 1.521 GB, free: 11.18 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.509, allocations: 158.8 kB / 1.522 GB, free: 11.02 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.5107, allocations: 0.739 MB / 1.522 GB, free: 10.28 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.5122, allocations: 0.6372 MB / 1.523 GB, free: 9.645 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008545/0.513, allocations: 0.7254 MB / 1.524 GB, free: 8.918 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.5134, allocations: 201 kB / 1.524 GB, free: 8.719 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.5144, allocations: 0.5138 MB / 1.524 GB, free: 8.203 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.5148, allocations: 239 kB / 1.525 GB, free: 7.969 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.5148, allocations: 20 kB / 1.525 GB, free: 7.949 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.5163, allocations: 0.9352 MB / 1.526 GB, free: 7.012 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.5165, allocations: 123.6 kB / 1.526 GB, free: 6.891 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.5166, allocations: 163.2 kB / 1.526 GB, free: 6.73 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.5177, allocations: 0.7436 MB / 1.527 GB, free: 5.984 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5177, allocations: 0 / 1.527 GB, free: 5.984 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5177, allocations: 0 / 1.527 GB, free: 5.984 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.5177, allocations: 0 / 1.527 GB, free: 5.984 MB / 1.217 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.0009385/0.5186, allocations: 0.6017 MB / 1.527 GB, free: 5.348 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5187, allocations: 12.03 kB / 1.527 GB, free: 5.336 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.5187, allocations: 58.48 kB / 1.527 GB, free: 5.27 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.5198, allocations: 155.6 kB / 1.527 GB, free: 5.117 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.5203, allocations: 268.5 kB / 1.528 GB, free: 4.828 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.5204, allocations: 24.44 kB / 1.528 GB, free: 4.805 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.5204, allocations: 20 kB / 1.528 GB, free: 4.785 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.5209, allocations: 281 kB / 1.528 GB, free: 4.488 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5209, allocations: 4 kB / 1.528 GB, free: 4.484 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.5209, allocations: 12 kB / 1.528 GB, free: 4.473 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.521, allocations: 8 kB / 1.528 GB, free: 4.465 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.5214, allocations: 196.9 kB / 1.528 GB, free: 4.273 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.5228, allocations: 1.196 MB / 1.529 GB, free: 2.98 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.5231, allocations: 134.5 kB / 1.529 GB, free: 2.84 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.5233, allocations: 92.8 kB / 1.529 GB, free: 2.746 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004438/0.5237, allocations: 71.92 kB / 1.53 GB, free: 2.676 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.5238, allocations: 38.55 kB / 1.53 GB, free: 2.629 MB / 1.217 GB Notification: Performance of pre-optimization done (n=17): time 5.22e-06/0.5238, allocations: 7.984 kB / 1.53 GB, free: 2.621 MB / 1.217 GB Notification: Performance of matching and sorting (n=17): time 0.0007473/0.5245, allocations: 299.5 kB / 1.53 GB, free: 2.324 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5246, allocations: 51.41 kB / 1.53 GB, free: 2.262 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.5249, allocations: 324.5 kB / 1.53 GB, free: 1.938 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.5249, allocations: 25.7 kB / 1.53 GB, free: 1.906 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.525, allocations: 184.3 kB / 1.53 GB, free: 1.723 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.5251, allocations: 71.42 kB / 1.531 GB, free: 1.652 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.5252, allocations: 45.7 kB / 1.531 GB, free: 1.602 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5253, allocations: 342.8 kB / 1.531 GB, free: 1.258 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.5255, allocations: 67.95 kB / 1.531 GB, free: 1.191 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.5257, allocations: 130 kB / 1.531 GB, free: 1.047 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.5261, allocations: 202.6 kB / 1.531 GB, free: 0.832 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5261, allocations: 0 / 1.531 GB, free: 0.832 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004531/0.5265, allocations: 253.2 kB / 1.532 GB, free: 0.5781 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5265, allocations: 4 kB / 1.532 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5265, allocations: 0 / 1.532 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5266, allocations: 4 kB / 1.532 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.5268, allocations: 51.91 kB / 1.532 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5268, allocations: 0 / 1.532 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.5269, allocations: 35.77 kB / 1.532 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.527, allocations: 16.03 kB / 1.532 GB, free: 480 kB / 1.217 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.0001446/0.5271, allocations: 153.6 kB / 1.532 GB, free: 316 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.5272, allocations: 31.81 kB / 1.532 GB, free: 284 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.5276, allocations: 232.6 kB / 1.532 GB, free: 40 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5276, allocations: 0 / 1.532 GB, free: 40 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5276, allocations: 7.922 kB / 1.532 GB, free: 32 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5276, allocations: 4 kB / 1.532 GB, free: 28 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.5287, allocations: 0.6788 MB / 1.533 GB, free: 15.28 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5287, allocations: 0 / 1.533 GB, free: 15.28 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.5288, allocations: 39.92 kB / 1.533 GB, free: 15.24 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5288, allocations: 0 / 1.533 GB, free: 15.24 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.5289, allocations: 7.938 kB / 1.533 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.5289, allocations: 4 kB / 1.533 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5289, allocations: 4 kB / 1.533 GB, free: 15.22 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.5295, allocations: 454.8 kB / 1.533 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.5296, allocations: 51.84 kB / 1.533 GB, free: 14.69 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.5297, allocations: 3.938 kB / 1.533 GB, free: 14.69 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.5298, allocations: 15.98 kB / 1.533 GB, free: 14.67 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.5299, allocations: 11.98 kB / 1.533 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.5299, allocations: 8 kB / 1.533 GB, free: 14.65 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002266/0.5301, allocations: 227 kB / 1.533 GB, free: 14.43 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5301, allocations: 0 / 1.533 GB, free: 14.43 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003796/0.5305, allocations: 95.81 kB / 1.534 GB, free: 14.34 MB / 1.232 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.001081/0.5316, allocations: 1.029 MB / 1.535 GB, free: 13.26 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.532, allocations: 178.4 kB / 1.535 GB, free: 13.09 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.532, allocations: 0 / 1.535 GB, free: 13.09 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.5322, allocations: 99.84 kB / 1.535 GB, free: 12.99 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.533, allocations: 159.2 kB / 1.535 GB, free: 12.84 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.5369, allocations: 3.011 MB / 1.538 GB, free: 9.676 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.5373, allocations: 0.7833 MB / 1.539 GB, free: 8.863 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002228/0.5375, allocations: 66.92 kB / 1.539 GB, free: 8.801 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.5377, allocations: 95.41 kB / 1.539 GB, free: 8.707 MB / 1.232 GB Notification: Performance of SimCode: time 9.62e-07/0.5377, allocations: 0 / 1.539 GB, free: 8.707 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.5759, allocations: 9.264 MB / 1.548 GB, free: 15.66 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.974/10.55, allocations: 5.547 kB / 1.548 GB, free: 15.66 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senDyn.v in file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.v from file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senSteSta.v in file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senSteSta.v from file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.611688813]