Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001212/0.001212, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001385/0.001385, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.309/1.309, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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 2.897/2.897, allocations: 0.49 GB / 0.7951 GB, free: 33.44 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.TemperatureWetBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_12_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.001854/0.001854, allocations: 72.14 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2843, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.178/0.4624, allocations: 165 MB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004772/0.4671, allocations: 3.554 MB / 1.491 GB, free: 8.688 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.4673, allocations: 15.81 kB / 1.491 GB, free: 8.672 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.4677, allocations: 135 kB / 1.491 GB, free: 8.539 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.4688, allocations: 481.8 kB / 1.491 GB, free: 8.066 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.4702, allocations: 0.6214 MB / 1.492 GB, free: 7.445 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006985/0.4709, allocations: 0.6361 MB / 1.492 GB, free: 6.809 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.4712, allocations: 190.6 kB / 1.493 GB, free: 6.625 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.4728, allocations: 0.5124 MB / 1.493 GB, free: 6.121 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.4731, allocations: 199.2 kB / 1.493 GB, free: 5.926 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.4731, allocations: 20 kB / 1.493 GB, free: 5.906 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.474, allocations: 0.5924 MB / 1.494 GB, free: 5.312 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.4741, allocations: 99.59 kB / 1.494 GB, free: 5.215 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.4743, allocations: 151.2 kB / 1.494 GB, free: 5.066 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.475, allocations: 0.5489 MB / 1.495 GB, free: 4.516 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.475, allocations: 3.938 kB / 1.495 GB, free: 4.512 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4751, allocations: 0 / 1.495 GB, free: 4.512 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.4751, allocations: 0 / 1.495 GB, free: 4.512 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001002/0.4761, allocations: 0.5747 MB / 1.495 GB, free: 3.902 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.4761, allocations: 12.02 kB / 1.495 GB, free: 3.891 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.963e-05/0.4762, allocations: 54.55 kB / 1.495 GB, free: 3.828 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005049/0.4767, allocations: 79.69 kB / 1.495 GB, free: 3.75 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.4771, allocations: 243.7 kB / 1.496 GB, free: 3.484 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4771, allocations: 12.44 kB / 1.496 GB, free: 3.473 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.4771, allocations: 20 kB / 1.496 GB, free: 3.453 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.4777, allocations: 316.1 kB / 1.496 GB, free: 3.125 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4777, allocations: 0 / 1.496 GB, free: 3.125 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.4778, allocations: 8 kB / 1.496 GB, free: 3.117 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.4778, allocations: 15.92 kB / 1.496 GB, free: 3.102 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.4784, allocations: 248.9 kB / 1.496 GB, free: 2.859 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.48, allocations: 1.21 MB / 1.497 GB, free: 1.539 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.4804, allocations: 167.3 kB / 1.498 GB, free: 1.367 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.4807, allocations: 124.7 kB / 1.498 GB, free: 1.242 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/0.4812, allocations: 71.92 kB / 1.498 GB, free: 1.172 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.4812, allocations: 30.56 kB / 1.498 GB, free: 1.133 MB / 1.186 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.4812, allocations: 4 kB / 1.498 GB, free: 1.129 MB / 1.186 GB Notification: Performance of matching and sorting (n=14): time 0.002105/0.4833, allocations: 0.513 MB / 1.498 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.4833, allocations: 51.41 kB / 1.498 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4836, allocations: 260.2 kB / 1.499 GB, free: 288 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.4836, allocations: 29.7 kB / 1.499 GB, free: 252 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4837, allocations: 168.2 kB / 1.499 GB, free: 76 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.4838, allocations: 47.59 kB / 1.499 GB, free: 28 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.443e-05/0.4839, allocations: 41.64 kB / 1.499 GB, free: 15.98 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.484, allocations: 330.8 kB / 1.499 GB, free: 15.65 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.4843, allocations: 99.92 kB / 1.499 GB, free: 15.55 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.4846, allocations: 136.2 kB / 1.499 GB, free: 15.4 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.4851, allocations: 236 kB / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4851, allocations: 4 kB / 1.5 GB, free: 15.15 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001112/0.4862, allocations: 354 kB / 1.5 GB, free: 14.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4863, allocations: 8 kB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4863, allocations: 0 / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.4869, allocations: 88.89 kB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.4871, allocations: 39.95 kB / 1.5 GB, free: 14.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.4893, allocations: 1.643 MB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.4896, allocations: 39.88 kB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.4896, allocations: 8 kB / 1.502 GB, free: 12.86 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.0001541/0.4897, allocations: 141.8 kB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.4898, allocations: 23.86 kB / 1.502 GB, free: 12.69 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.4909, allocations: 367.9 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4909, allocations: 4 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.4909, allocations: 4 kB / 1.502 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4909, allocations: 0 / 1.502 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.4926, allocations: 0.7347 MB / 1.503 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4926, allocations: 4 kB / 1.503 GB, free: 11.51 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.4928, allocations: 44 kB / 1.503 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/0.4932, allocations: 84.7 kB / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4932, allocations: 0 / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.4951, allocations: 1.648 MB / 1.505 GB, free: 9.613 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4951, allocations: 0 / 1.505 GB, free: 9.613 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4963, allocations: 450.5 kB / 1.505 GB, free: 9.145 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.4964, allocations: 47.77 kB / 1.505 GB, free: 9.098 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.4964, allocations: 7.938 kB / 1.505 GB, free: 9.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.4966, allocations: 23.97 kB / 1.505 GB, free: 9.066 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.4967, allocations: 27.91 kB / 1.505 GB, free: 9.039 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.4967, allocations: 4 kB / 1.505 GB, free: 9.035 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001751/0.4969, allocations: 187.1 kB / 1.505 GB, free: 8.852 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4969, allocations: 3.938 kB / 1.505 GB, free: 8.848 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003926/0.4973, allocations: 87.81 kB / 1.505 GB, free: 8.762 MB / 1.201 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.001531/0.4988, allocations: 1.028 MB / 1.506 GB, free: 7.691 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009489/0.4998, allocations: 358.6 kB / 1.507 GB, free: 7.328 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4998, allocations: 0 / 1.507 GB, free: 7.328 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.5003, allocations: 250.7 kB / 1.507 GB, free: 7.07 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.501, allocations: 127.4 kB / 1.507 GB, free: 6.949 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.5056, allocations: 2.816 MB / 1.51 GB, free: 4.016 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.506, allocations: 0.7714 MB / 1.511 GB, free: 3.219 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001793/0.5062, allocations: 58.25 kB / 1.511 GB, free: 3.164 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.5063, allocations: 75.42 kB / 1.511 GB, free: 3.09 MB / 1.201 GB Notification: Performance of SimCode: time 4.21e-07/0.5063, allocations: 0 / 1.511 GB, free: 3.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03969/0.546, allocations: 8.848 MB / 1.519 GB, free: 10.45 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.86, allocations: 5.844 kB / 1.519 GB, free: 10.45 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv. Warning: Get data of variable sou.T_in from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.80821851700057]