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.001198/0.001198, allocations: 110.1 kB / 16.46 MB, free: 6.508 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.001423/0.001423, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.408/1.408, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.038/3.038, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.001976/0.001976, allocations: 73.5 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3137, allocations: 176.1 MB / 1.321 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.197/0.5107, allocations: 170.9 MB / 1.488 GB, free: 7.766 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002946/0.5136, allocations: 1.577 MB / 1.489 GB, free: 6.188 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.514, allocations: 15.88 kB / 1.489 GB, free: 6.172 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.5146, allocations: 150.8 kB / 1.489 GB, free: 6.023 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.5166, allocations: 0.739 MB / 1.49 GB, free: 5.281 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.5183, allocations: 0.6124 MB / 1.491 GB, free: 4.672 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.5193, allocations: 0.7137 MB / 1.491 GB, free: 3.957 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.5197, allocations: 204.8 kB / 1.492 GB, free: 3.75 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.5209, allocations: 0.506 MB / 1.492 GB, free: 3.242 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.5213, allocations: 239 kB / 1.492 GB, free: 3.008 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.5213, allocations: 24 kB / 1.492 GB, free: 2.984 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.5229, allocations: 0.9157 MB / 1.493 GB, free: 2.066 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.5231, allocations: 115.6 kB / 1.493 GB, free: 1.953 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.5233, allocations: 171.2 kB / 1.493 GB, free: 1.785 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.5248, allocations: 0.7319 MB / 1.494 GB, free: 1.051 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5248, allocations: 0 / 1.494 GB, free: 1.051 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5248, allocations: 0 / 1.494 GB, free: 1.051 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.11e-05/0.5248, allocations: 0 / 1.494 GB, free: 1.051 MB / 1.186 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.001205/0.526, allocations: 0.681 MB / 1.495 GB, free: 328 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5261, allocations: 11.98 kB / 1.495 GB, free: 316 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.5261, allocations: 58.53 kB / 1.495 GB, free: 248 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.5274, allocations: 151.7 kB / 1.495 GB, free: 96 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/0.528, allocations: 338.8 kB / 1.495 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.5281, allocations: 20.5 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.5281, allocations: 20 kB / 1.495 GB, free: 15.68 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.5286, allocations: 285.8 kB / 1.496 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5286, allocations: 4 kB / 1.496 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.5287, allocations: 12 kB / 1.496 GB, free: 15.37 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.5287, allocations: 4 kB / 1.496 GB, free: 15.36 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.5291, allocations: 204.9 kB / 1.496 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.5307, allocations: 1.231 MB / 1.497 GB, free: 13.83 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.531, allocations: 138.5 kB / 1.497 GB, free: 13.68 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.5312, allocations: 92.8 kB / 1.497 GB, free: 13.59 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/0.5318, allocations: 303.2 kB / 1.498 GB, free: 13.24 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.5318, allocations: 38.56 kB / 1.498 GB, free: 13.19 MB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.5318, allocations: 0 / 1.498 GB, free: 13.19 MB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.000835/0.5327, allocations: 299.5 kB / 1.498 GB, free: 12.89 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.5327, allocations: 51.41 kB / 1.498 GB, free: 12.83 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.533, allocations: 316.5 kB / 1.498 GB, free: 12.52 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.5331, allocations: 33.64 kB / 1.498 GB, free: 12.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.5332, allocations: 188.3 kB / 1.499 GB, free: 12.29 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.5333, allocations: 63.47 kB / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/0.5334, allocations: 53.66 kB / 1.499 GB, free: 12.17 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5335, allocations: 342.8 kB / 1.499 GB, free: 11.83 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.5337, allocations: 63.95 kB / 1.499 GB, free: 11.77 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.5339, allocations: 131.1 kB / 1.499 GB, free: 11.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.5343, allocations: 196.9 kB / 1.499 GB, free: 11.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5343, allocations: 4 kB / 1.499 GB, free: 11.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005184/0.5348, allocations: 253.2 kB / 1.5 GB, free: 11.15 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5349, allocations: 8 kB / 1.5 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5349, allocations: 0 / 1.5 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5349, allocations: 4 kB / 1.5 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.5351, allocations: 43.97 kB / 1.5 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.5351, allocations: 3.938 kB / 1.5 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.5353, allocations: 35.92 kB / 1.5 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.5353, allocations: 12 kB / 1.5 GB, free: 11.05 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 (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.0001582/0.5355, allocations: 145.8 kB / 1.5 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.5356, allocations: 31.81 kB / 1.5 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005206/0.5361, allocations: 236.6 kB / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5361, allocations: 144 / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5361, allocations: 0 / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5361, allocations: 7.984 kB / 1.5 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.5372, allocations: 0.7069 MB / 1.501 GB, free: 9.828 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.5372, allocations: 4 kB / 1.501 GB, free: 9.824 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.5374, allocations: 27.98 kB / 1.501 GB, free: 9.797 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.5374, allocations: 7.984 kB / 1.501 GB, free: 9.789 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.5374, allocations: 11.94 kB / 1.501 GB, free: 9.777 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-06/0.5374, allocations: 11.92 kB / 1.501 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5374, allocations: 0 / 1.501 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.5382, allocations: 463.2 kB / 1.501 GB, free: 9.277 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.5383, allocations: 120.9 kB / 1.501 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.5384, allocations: 15.92 kB / 1.501 GB, free: 9.125 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.5386, allocations: 8 kB / 1.501 GB, free: 9.117 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.5386, allocations: 12.08 kB / 1.501 GB, free: 9.105 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.5386, allocations: 7.938 kB / 1.501 GB, free: 9.098 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002509/0.5389, allocations: 235 kB / 1.502 GB, free: 8.867 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5389, allocations: 4.062 kB / 1.502 GB, free: 8.863 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004131/0.5393, allocations: 79.92 kB / 1.502 GB, free: 8.785 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 (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.001298/0.5406, allocations: 1.04 MB / 1.503 GB, free: 7.695 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.5411, allocations: 175.8 kB / 1.503 GB, free: 7.523 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5411, allocations: 0 / 1.503 GB, free: 7.523 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.5413, allocations: 87.81 kB / 1.503 GB, free: 7.438 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008991/0.5422, allocations: 165.6 kB / 1.503 GB, free: 7.281 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.5464, allocations: 3.015 MB / 1.506 GB, free: 4.125 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.5469, allocations: 0.7873 MB / 1.507 GB, free: 3.309 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.5471, allocations: 62.92 kB / 1.507 GB, free: 3.25 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.5472, allocations: 91.41 kB / 1.507 GB, free: 3.16 MB / 1.201 GB Notification: Performance of SimCode: time 4e-07/0.5472, allocations: 0 / 1.507 GB, free: 3.16 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.5859, allocations: 9.033 MB / 1.516 GB, free: 10.3 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.771, allocations: 7.938 kB / 1.516 GB, free: 10.29 MB / 1.217 GB " [Timeout remaining time 291] (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: 15.235625235829502]