Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.001537/0.001537, 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.001916/0.001916, allocations: 213.6 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.08/3.08, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.001903/0.001903, allocations: 67.23 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3243, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1703/0.4946, allocations: 142.3 MB / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004648/0.4992, allocations: 3.268 MB / 1.506 GB, free: 11.93 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.4995, allocations: 11.88 kB / 1.506 GB, free: 11.92 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.4999, allocations: 138.9 kB / 1.506 GB, free: 11.78 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.5011, allocations: 457.9 kB / 1.506 GB, free: 11.33 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.5027, allocations: 0.614 MB / 1.507 GB, free: 10.72 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007258/0.5034, allocations: 0.6206 MB / 1.507 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.5037, allocations: 192.8 kB / 1.508 GB, free: 9.91 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.5053, allocations: 0.505 MB / 1.508 GB, free: 9.414 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.5056, allocations: 195.1 kB / 1.508 GB, free: 9.223 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.5056, allocations: 28 kB / 1.508 GB, free: 9.195 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007622/0.5064, allocations: 474.8 kB / 1.509 GB, free: 8.73 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.5065, allocations: 95.7 kB / 1.509 GB, free: 8.637 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.5067, allocations: 119.4 kB / 1.509 GB, free: 8.52 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008582/0.5075, allocations: 0.5489 MB / 1.509 GB, free: 7.969 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5075, allocations: 0 / 1.509 GB, free: 7.969 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5075, allocations: 0 / 1.509 GB, free: 7.969 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.5075, allocations: 0 / 1.509 GB, free: 7.969 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001101/0.5086, allocations: 0.5708 MB / 1.51 GB, free: 7.367 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5087, allocations: 8.031 kB / 1.51 GB, free: 7.359 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.32e-05/0.5088, allocations: 58.53 kB / 1.51 GB, free: 7.293 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005465/0.5093, allocations: 87.64 kB / 1.51 GB, free: 7.207 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.5098, allocations: 247.6 kB / 1.51 GB, free: 6.938 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5098, allocations: 12.44 kB / 1.51 GB, free: 6.926 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.5098, allocations: 20 kB / 1.51 GB, free: 6.906 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.5105, allocations: 363.6 kB / 1.511 GB, free: 6.52 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5105, allocations: 7.938 kB / 1.511 GB, free: 6.512 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.5106, allocations: 8 kB / 1.511 GB, free: 6.504 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.5106, allocations: 7.938 kB / 1.511 GB, free: 6.496 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006543/0.5112, allocations: 248.9 kB / 1.511 GB, free: 6.254 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.5128, allocations: 0.9756 MB / 1.512 GB, free: 5.211 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.5132, allocations: 162.5 kB / 1.512 GB, free: 5.043 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.5135, allocations: 120.8 kB / 1.512 GB, free: 4.922 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004591/0.514, allocations: 71.92 kB / 1.512 GB, free: 4.852 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.514, allocations: 34.56 kB / 1.512 GB, free: 4.809 MB / 1.201 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.514, allocations: 0 / 1.512 GB, free: 4.809 MB / 1.201 GB Notification: Performance of matching and sorting (n=14): time 0.002147/0.5162, allocations: 0.5119 MB / 1.513 GB, free: 4.289 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.5162, allocations: 59.34 kB / 1.513 GB, free: 4.219 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.5165, allocations: 264.1 kB / 1.513 GB, free: 3.953 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.5165, allocations: 29.7 kB / 1.513 GB, free: 3.918 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.5167, allocations: 168.2 kB / 1.513 GB, free: 3.75 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.5167, allocations: 55.58 kB / 1.513 GB, free: 3.695 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.5168, allocations: 37.7 kB / 1.513 GB, free: 3.652 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5169, allocations: 342.8 kB / 1.514 GB, free: 3.309 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.5172, allocations: 91.86 kB / 1.514 GB, free: 3.219 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.5175, allocations: 159.9 kB / 1.514 GB, free: 3.043 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.5181, allocations: 240.1 kB / 1.514 GB, free: 2.793 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5181, allocations: 0 / 1.514 GB, free: 2.793 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00111/0.5192, allocations: 360.6 kB / 1.515 GB, free: 2.434 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5192, allocations: 4 kB / 1.515 GB, free: 2.43 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5192, allocations: 4 kB / 1.515 GB, free: 2.426 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/0.5198, allocations: 84.86 kB / 1.515 GB, free: 2.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.52, allocations: 51.89 kB / 1.515 GB, free: 2.289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.5223, allocations: 1.607 MB / 1.516 GB, free: 0.5664 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.5225, allocations: 31.91 kB / 1.516 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.5225, allocations: 8.062 kB / 1.516 GB, free: 0.5273 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.5227, allocations: 149.8 kB / 1.516 GB, free: 380 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.5227, allocations: 28 kB / 1.516 GB, free: 352 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.5239, allocations: 359.9 kB / 1.517 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.5239, allocations: 7.922 kB / 1.517 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5239, allocations: 3.984 kB / 1.517 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5239, allocations: 0 / 1.517 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.5255, allocations: 0.7231 MB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5255, allocations: 0 / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.5257, allocations: 35.97 kB / 1.518 GB, free: 15.15 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004102/0.5261, allocations: 84.8 kB / 1.518 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.5261, allocations: 8 kB / 1.518 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.5281, allocations: 1.628 MB / 1.519 GB, free: 13.31 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5281, allocations: 0 / 1.519 GB, free: 13.31 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.5291, allocations: 458.5 kB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.5293, allocations: 43.83 kB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.5293, allocations: 7.938 kB / 1.52 GB, free: 12.78 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.5295, allocations: 31.91 kB / 1.52 GB, free: 12.75 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.5296, allocations: 19.97 kB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.5296, allocations: 4 kB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001932/0.5298, allocations: 187.1 kB / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5298, allocations: 0 / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004267/0.5303, allocations: 87.83 kB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.5319, allocations: 1.036 MB / 1.521 GB, free: 11.38 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009865/0.5328, allocations: 354.4 kB / 1.521 GB, free: 11.02 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5329, allocations: 0 / 1.521 GB, free: 11.02 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005642/0.5334, allocations: 250.9 kB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/0.5341, allocations: 120.9 kB / 1.522 GB, free: 10.65 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.5388, allocations: 2.814 MB / 1.525 GB, free: 7.711 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.539, allocations: 166.8 kB / 1.525 GB, free: 7.527 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.5392, allocations: 50.27 kB / 1.525 GB, free: 7.48 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.5393, allocations: 83.39 kB / 1.525 GB, free: 7.402 MB / 1.217 GB Notification: Performance of SimCode: time 3.91e-07/0.5393, allocations: 0 / 1.525 GB, free: 7.402 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.5796, allocations: 9.538 MB / 1.534 GB, free: 14.12 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.53, allocations: 3.625 kB / 1.534 GB, free: 14.12 MB / 1.232 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sou.T_in in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv. Warning: Get data of variable sou.T_in from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.07416942063719]