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.001196/0.001196, allocations: 110.6 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.001383/0.001383, allocations: 220.3 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.308/1.308, allocations: 230.6 MB / 256 MB, free: 7.98 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.932/2.932, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.001827/0.001827, allocations: 71.22 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.285, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1713/0.4562, allocations: 165.1 MB / 1.514 GB, free: 2.758 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005093/0.4613, allocations: 3.552 MB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.4615, allocations: 15.88 kB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.4619, allocations: 135 kB / 1.518 GB, free: 15.04 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.463, allocations: 477.9 kB / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.4644, allocations: 0.6273 MB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0006858/0.4651, allocations: 0.64 MB / 1.519 GB, free: 13.31 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.4654, allocations: 177 kB / 1.52 GB, free: 13.14 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.4669, allocations: 0.5073 MB / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.4672, allocations: 207.2 kB / 1.52 GB, free: 12.44 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.4672, allocations: 20 kB / 1.52 GB, free: 12.42 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009096/0.4681, allocations: 0.5846 MB / 1.521 GB, free: 11.84 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.4682, allocations: 107.6 kB / 1.521 GB, free: 11.73 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.4684, allocations: 139.3 kB / 1.521 GB, free: 11.59 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0007581/0.4691, allocations: 0.5645 MB / 1.522 GB, free: 11.03 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4691, allocations: 0 / 1.522 GB, free: 11.03 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4691, allocations: 0 / 1.522 GB, free: 11.03 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.4691, allocations: 4 kB / 1.522 GB, free: 11.02 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001/0.4701, allocations: 0.5708 MB / 1.522 GB, free: 10.42 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4702, allocations: 8.031 kB / 1.522 GB, free: 10.41 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/0.4702, allocations: 54.55 kB / 1.522 GB, free: 10.35 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004982/0.4707, allocations: 87.69 kB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.4711, allocations: 235.7 kB / 1.523 GB, free: 10.01 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.4711, allocations: 20.42 kB / 1.523 GB, free: 9.988 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.4712, allocations: 23.94 kB / 1.523 GB, free: 9.965 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.4718, allocations: 308.2 kB / 1.523 GB, free: 9.641 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4718, allocations: 4 kB / 1.523 GB, free: 9.637 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.4718, allocations: 8 kB / 1.523 GB, free: 9.629 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4718, allocations: 7.938 kB / 1.523 GB, free: 9.621 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.4725, allocations: 252.9 kB / 1.523 GB, free: 9.375 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.474, allocations: 1.202 MB / 1.524 GB, free: 8.066 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.4744, allocations: 170.5 kB / 1.524 GB, free: 7.891 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.4747, allocations: 116.7 kB / 1.525 GB, free: 7.773 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/0.4752, allocations: 79.89 kB / 1.525 GB, free: 7.695 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.4752, allocations: 34.56 kB / 1.525 GB, free: 7.652 MB / 1.217 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4752, allocations: 0 / 1.525 GB, free: 7.652 MB / 1.217 GB Notification: Performance of matching and sorting (n=14): time 0.002088/0.4773, allocations: 0.5082 MB / 1.525 GB, free: 7.137 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4774, allocations: 59.34 kB / 1.525 GB, free: 7.066 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.4776, allocations: 264.2 kB / 1.525 GB, free: 6.793 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.4777, allocations: 25.7 kB / 1.526 GB, free: 6.762 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.4778, allocations: 168.3 kB / 1.526 GB, free: 6.59 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.4778, allocations: 47.59 kB / 1.526 GB, free: 6.543 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.4779, allocations: 41.67 kB / 1.526 GB, free: 6.496 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.478, allocations: 334.8 kB / 1.526 GB, free: 6.16 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.4783, allocations: 95.91 kB / 1.526 GB, free: 6.066 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.4786, allocations: 134.5 kB / 1.526 GB, free: 5.922 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/0.4792, allocations: 244 kB / 1.527 GB, free: 5.668 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4792, allocations: 0 / 1.527 GB, free: 5.668 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00111/0.4803, allocations: 350 kB / 1.527 GB, free: 5.316 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4803, allocations: 4 kB / 1.527 GB, free: 5.312 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4803, allocations: 4 kB / 1.527 GB, free: 5.309 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.4809, allocations: 88.88 kB / 1.527 GB, free: 5.219 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.4811, allocations: 43.97 kB / 1.527 GB, free: 5.176 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.4833, allocations: 1.633 MB / 1.529 GB, free: 3.426 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4835, allocations: 31.86 kB / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.4836, allocations: 8 kB / 1.529 GB, free: 3.387 MB / 1.217 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.0001645/0.4837, allocations: 145.8 kB / 1.529 GB, free: 3.234 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.4838, allocations: 23.86 kB / 1.529 GB, free: 3.211 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.4849, allocations: 367.9 kB / 1.529 GB, free: 2.844 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4849, allocations: 0 / 1.529 GB, free: 2.844 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.4849, allocations: 4 kB / 1.529 GB, free: 2.84 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4849, allocations: 3.984 kB / 1.529 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.4865, allocations: 0.7426 MB / 1.53 GB, free: 2.031 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4865, allocations: 8.031 kB / 1.53 GB, free: 2.023 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.4867, allocations: 39.89 kB / 1.53 GB, free: 1.984 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004382/0.4871, allocations: 80.72 kB / 1.53 GB, free: 1.902 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.4871, allocations: 7.938 kB / 1.53 GB, free: 1.895 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.489, allocations: 1.636 MB / 1.532 GB, free: 140 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.489, allocations: 4.031 kB / 1.532 GB, free: 136 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4901, allocations: 457.3 kB / 1.532 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4902, allocations: 47.73 kB / 1.532 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.4903, allocations: 11.92 kB / 1.532 GB, free: 15.6 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.4905, allocations: 27.97 kB / 1.532 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.4906, allocations: 19.91 kB / 1.532 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.4906, allocations: 8 kB / 1.532 GB, free: 15.55 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0001723/0.4908, allocations: 187.1 kB / 1.532 GB, free: 15.37 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.4908, allocations: 0 / 1.532 GB, free: 15.37 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004016/0.4912, allocations: 79.89 kB / 1.532 GB, free: 15.29 MB / 1.232 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.001534/0.4927, allocations: 1.03 MB / 1.533 GB, free: 14.22 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009481/0.4937, allocations: 354.5 kB / 1.534 GB, free: 13.86 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4937, allocations: 0 / 1.534 GB, free: 13.86 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.4943, allocations: 262.8 kB / 1.534 GB, free: 13.59 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.4949, allocations: 115 kB / 1.534 GB, free: 13.48 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.4995, allocations: 2.818 MB / 1.537 GB, free: 10.54 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4999, allocations: 0.7714 MB / 1.538 GB, free: 9.738 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.5001, allocations: 54.25 kB / 1.538 GB, free: 9.684 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.5002, allocations: 75.41 kB / 1.538 GB, free: 9.609 MB / 1.232 GB Notification: Performance of SimCode: time 3.91e-07/0.5002, allocations: 0 / 1.538 GB, free: 9.609 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/0.5379, allocations: 8.852 MB / 1.546 GB, free: 0.957 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.92, allocations: 8.172 kB / 1.546 GB, free: 0.9531 MB / 1.232 GB " [Timeout remaining time 288] (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: 17.9580472990001]