Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001768/0.001768, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002468/0.002468, allocations: 211.9 kB / 22.24 MB, free: 4.855 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_11_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.00215/0.00215, allocations: 60.5 kB / 1.117 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3406, allocations: 170 MB / 1.283 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2524/0.593, allocations: 142.3 MB / 1.422 GB, free: 5.305 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005989/0.599, allocations: 3.26 MB / 1.425 GB, free: 2.031 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.5994, allocations: 11.88 kB / 1.425 GB, free: 2.02 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.6, allocations: 135 kB / 1.425 GB, free: 1.887 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.6016, allocations: 465.9 kB / 1.425 GB, free: 1.43 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.6035, allocations: 0.6174 MB / 1.426 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009971/0.6045, allocations: 0.6322 MB / 1.427 GB, free: 184 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.6049, allocations: 180.8 kB / 1.427 GB, free: 8 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.6065, allocations: 349.4 kB / 1.427 GB, free: 15.68 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.6069, allocations: 203.1 kB / 1.427 GB, free: 15.48 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.6069, allocations: 20 kB / 1.427 GB, free: 15.46 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.6082, allocations: 486.8 kB / 1.428 GB, free: 14.98 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.6084, allocations: 95.7 kB / 1.428 GB, free: 14.89 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.6085, allocations: 119.5 kB / 1.428 GB, free: 14.77 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.6096, allocations: 0.5449 MB / 1.428 GB, free: 14.22 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6096, allocations: 4 kB / 1.428 GB, free: 14.22 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6096, allocations: 0 / 1.428 GB, free: 14.22 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.6096, allocations: 0 / 1.428 GB, free: 14.22 MB / 1.139 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.001235/0.6109, allocations: 0.5785 MB / 1.429 GB, free: 13.61 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6109, allocations: 8.031 kB / 1.429 GB, free: 13.6 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.726e-05/0.611, allocations: 62.53 kB / 1.429 GB, free: 13.53 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005885/0.6116, allocations: 83.69 kB / 1.429 GB, free: 13.45 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.6121, allocations: 243.7 kB / 1.429 GB, free: 13.19 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.6121, allocations: 16.44 kB / 1.429 GB, free: 13.17 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.6122, allocations: 16 kB / 1.429 GB, free: 13.16 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000767/0.613, allocations: 371.5 kB / 1.43 GB, free: 12.76 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.613, allocations: 0 / 1.43 GB, free: 12.76 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.613, allocations: 8 kB / 1.43 GB, free: 12.75 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.613, allocations: 11.94 kB / 1.43 GB, free: 12.74 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.6137, allocations: 244.9 kB / 1.43 GB, free: 12.5 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.6155, allocations: 0.9834 MB / 1.431 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.616, allocations: 171.6 kB / 1.431 GB, free: 11.28 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.6163, allocations: 112.8 kB / 1.431 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000491/0.6168, allocations: 79.91 kB / 1.431 GB, free: 11.09 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.6169, allocations: 34.56 kB / 1.431 GB, free: 11.04 MB / 1.139 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.6169, allocations: 0 / 1.431 GB, free: 11.04 MB / 1.139 GB Notification: Performance of matching and sorting (n=14): time 0.002391/0.6193, allocations: 0.5012 MB / 1.432 GB, free: 10.54 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.6194, allocations: 55.41 kB / 1.432 GB, free: 10.47 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.6197, allocations: 264.2 kB / 1.432 GB, free: 10.2 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.6197, allocations: 29.7 kB / 1.432 GB, free: 10.16 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.6199, allocations: 172.2 kB / 1.432 GB, free: 9.988 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.62, allocations: 47.59 kB / 1.432 GB, free: 9.941 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.6201, allocations: 37.66 kB / 1.432 GB, free: 9.898 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6202, allocations: 334.8 kB / 1.433 GB, free: 9.562 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.6205, allocations: 95.91 kB / 1.433 GB, free: 9.469 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.6209, allocations: 164.4 kB / 1.433 GB, free: 9.289 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.6215, allocations: 236.1 kB / 1.433 GB, free: 9.043 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.6215, allocations: 4.031 kB / 1.433 GB, free: 9.039 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001248/0.6228, allocations: 354 kB / 1.434 GB, free: 8.684 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.6228, allocations: 4 kB / 1.434 GB, free: 8.68 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.6228, allocations: 0 / 1.434 GB, free: 8.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.6235, allocations: 92.88 kB / 1.434 GB, free: 8.586 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.6237, allocations: 43.91 kB / 1.434 GB, free: 8.543 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.6265, allocations: 1.625 MB / 1.435 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.6267, allocations: 39.81 kB / 1.435 GB, free: 6.766 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.6268, allocations: 4 kB / 1.435 GB, free: 6.762 MB / 1.139 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.0002418/0.627, allocations: 149.1 kB / 1.435 GB, free: 6.609 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.6271, allocations: 23.86 kB / 1.436 GB, free: 6.586 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.6283, allocations: 367.9 kB / 1.436 GB, free: 6.219 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6283, allocations: 0 / 1.436 GB, free: 6.219 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.6283, allocations: 4 kB / 1.436 GB, free: 6.215 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6283, allocations: 0 / 1.436 GB, free: 6.215 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.6303, allocations: 0.7192 MB / 1.437 GB, free: 5.434 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6303, allocations: 192 / 1.437 GB, free: 5.434 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.6305, allocations: 39.95 kB / 1.437 GB, free: 5.395 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.6309, allocations: 88.73 kB / 1.437 GB, free: 5.305 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.6309, allocations: 4 kB / 1.437 GB, free: 5.301 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.6334, allocations: 1.636 MB / 1.438 GB, free: 3.543 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6334, allocations: 0 / 1.438 GB, free: 3.543 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.6346, allocations: 450.5 kB / 1.439 GB, free: 3.074 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.6347, allocations: 43.83 kB / 1.439 GB, free: 3.031 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.6348, allocations: 11.94 kB / 1.439 GB, free: 3.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.635, allocations: 23.97 kB / 1.439 GB, free: 2.996 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.6351, allocations: 15.97 kB / 1.439 GB, free: 2.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.6351, allocations: 11.98 kB / 1.439 GB, free: 2.969 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002813/0.6354, allocations: 191.1 kB / 1.439 GB, free: 2.785 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.6354, allocations: 3.938 kB / 1.439 GB, free: 2.781 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004526/0.6359, allocations: 79.83 kB / 1.439 GB, free: 2.703 MB / 1.139 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.001836/0.6377, allocations: 1.028 MB / 1.44 GB, free: 1.633 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.6388, allocations: 358.3 kB / 1.44 GB, free: 1.27 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6388, allocations: 256 / 1.44 GB, free: 1.27 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.6395, allocations: 254.5 kB / 1.441 GB, free: 1.008 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.6402, allocations: 118.2 kB / 1.441 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005835/0.6461, allocations: 2.822 MB / 1.444 GB, free: 13.95 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.6464, allocations: 162.8 kB / 1.444 GB, free: 13.77 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002349/0.6466, allocations: 54.25 kB / 1.444 GB, free: 13.71 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.6468, allocations: 79.36 kB / 1.444 GB, free: 13.64 MB / 1.154 GB Notification: Performance of SimCode: time 1.482e-06/0.6468, allocations: 0 / 1.444 GB, free: 13.64 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06984/0.7166, allocations: 9.529 MB / 1.453 GB, free: 4.371 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.11, allocations: 5.312 kB / 1.453 GB, free: 4.367 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv. Warning: Get data of variable sou.T_in from file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.82790758414194]