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.001756/0.001756, 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.00228/0.00228, allocations: 214.7 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.773 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.048/3.048, allocations: 0.4892 GB / 0.7944 GB, free: 35.42 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.00205/0.00205, allocations: 72.7 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3327, allocations: 176.1 MB / 1.325 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1796/0.5123, allocations: 142.3 MB / 1.464 GB, free: 3.453 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004938/0.5172, allocations: 3.253 MB / 1.467 GB, free: 196 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.5175, allocations: 15.88 kB / 1.467 GB, free: 180 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.5179, allocations: 142.9 kB / 1.467 GB, free: 36 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.5191, allocations: 449.9 kB / 1.468 GB, free: 15.59 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.5207, allocations: 0.6074 MB / 1.468 GB, free: 14.99 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007559/0.5214, allocations: 0.6361 MB / 1.469 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.5218, allocations: 182.3 kB / 1.469 GB, free: 14.18 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.5234, allocations: 0.5065 MB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.5237, allocations: 195.2 kB / 1.47 GB, free: 13.49 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.5237, allocations: 20 kB / 1.47 GB, free: 13.47 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008089/0.5245, allocations: 474.8 kB / 1.47 GB, free: 13 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.5247, allocations: 95.7 kB / 1.47 GB, free: 12.91 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.5248, allocations: 127.5 kB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.5256, allocations: 0.541 MB / 1.471 GB, free: 12.24 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5256, allocations: 0 / 1.471 GB, free: 12.24 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5256, allocations: 3.938 kB / 1.471 GB, free: 12.24 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5256, allocations: 0 / 1.471 GB, free: 12.24 MB / 1.17 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.001086/0.5267, allocations: 0.5746 MB / 1.472 GB, free: 11.63 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5268, allocations: 16.03 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.397e-05/0.5268, allocations: 54.55 kB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/0.5274, allocations: 83.69 kB / 1.472 GB, free: 11.47 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.5278, allocations: 243.7 kB / 1.472 GB, free: 11.2 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.5278, allocations: 16.44 kB / 1.472 GB, free: 11.19 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.5279, allocations: 20 kB / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.5285, allocations: 363.5 kB / 1.472 GB, free: 10.78 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5285, allocations: 0 / 1.472 GB, free: 10.78 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.5286, allocations: 8 kB / 1.472 GB, free: 10.77 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.5286, allocations: 7.938 kB / 1.472 GB, free: 10.77 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006573/0.5292, allocations: 252.9 kB / 1.473 GB, free: 10.52 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.5308, allocations: 0.9912 MB / 1.474 GB, free: 9.461 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.5312, allocations: 162.5 kB / 1.474 GB, free: 9.293 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.5316, allocations: 120.7 kB / 1.474 GB, free: 9.172 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004489/0.532, allocations: 71.91 kB / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.532, allocations: 38.56 kB / 1.474 GB, free: 9.055 MB / 1.17 GB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.532, allocations: 0 / 1.474 GB, free: 9.055 MB / 1.17 GB Notification: Performance of matching and sorting (n=14): time 0.002123/0.5342, allocations: 0.5018 MB / 1.475 GB, free: 8.543 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.5342, allocations: 51.41 kB / 1.475 GB, free: 8.48 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.5345, allocations: 272.1 kB / 1.475 GB, free: 8.203 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.5345, allocations: 25.7 kB / 1.475 GB, free: 8.172 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.5346, allocations: 164.3 kB / 1.475 GB, free: 8.004 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.5347, allocations: 51.59 kB / 1.475 GB, free: 7.953 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/0.5347, allocations: 37.61 kB / 1.475 GB, free: 7.91 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5349, allocations: 342.8 kB / 1.475 GB, free: 7.566 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.5352, allocations: 95.91 kB / 1.476 GB, free: 7.473 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.5355, allocations: 157.9 kB / 1.476 GB, free: 7.297 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005773/0.5361, allocations: 240.1 kB / 1.476 GB, free: 7.047 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5361, allocations: 0 / 1.476 GB, free: 7.047 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001124/0.5372, allocations: 352.2 kB / 1.476 GB, free: 6.695 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5372, allocations: 8 kB / 1.476 GB, free: 6.688 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5372, allocations: 0 / 1.476 GB, free: 6.688 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/0.5378, allocations: 92.88 kB / 1.476 GB, free: 6.594 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.538, allocations: 43.91 kB / 1.476 GB, free: 6.551 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.5402, allocations: 1.629 MB / 1.478 GB, free: 4.809 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.5404, allocations: 31.86 kB / 1.478 GB, free: 4.777 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.5404, allocations: 8 kB / 1.478 GB, free: 4.77 MB / 1.17 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.0001643/0.5406, allocations: 151.6 kB / 1.478 GB, free: 4.613 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.5406, allocations: 27.86 kB / 1.478 GB, free: 4.586 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.5418, allocations: 363.9 kB / 1.479 GB, free: 4.223 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5418, allocations: 0 / 1.479 GB, free: 4.223 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.91e-07/0.5418, allocations: 4 kB / 1.479 GB, free: 4.219 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5418, allocations: 0 / 1.479 GB, free: 4.219 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.5435, allocations: 0.723 MB / 1.479 GB, free: 3.434 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5435, allocations: 4.094 kB / 1.479 GB, free: 3.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.5437, allocations: 39.95 kB / 1.479 GB, free: 3.391 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004098/0.5441, allocations: 76.72 kB / 1.479 GB, free: 3.312 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.5441, allocations: 3.938 kB / 1.479 GB, free: 3.309 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.5462, allocations: 1.64 MB / 1.481 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5462, allocations: 4.031 kB / 1.481 GB, free: 1.543 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.5473, allocations: 457.1 kB / 1.481 GB, free: 1.07 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.5474, allocations: 47.78 kB / 1.481 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.5475, allocations: 3.938 kB / 1.481 GB, free: 1.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.5477, allocations: 23.97 kB / 1.481 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.5478, allocations: 19.97 kB / 1.481 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.5478, allocations: 7.984 kB / 1.482 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001906/0.548, allocations: 191.1 kB / 1.482 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.548, allocations: 0 / 1.482 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000427/0.5484, allocations: 87.83 kB / 1.482 GB, free: 0.6953 MB / 1.17 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.001593/0.55, allocations: 1.02 MB / 1.483 GB, free: 15.63 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009745/0.551, allocations: 354.6 kB / 1.483 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.551, allocations: 0 / 1.483 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.5516, allocations: 258.6 kB / 1.483 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.5523, allocations: 124.8 kB / 1.483 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.5571, allocations: 2.82 MB / 1.486 GB, free: 11.95 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.5573, allocations: 166.8 kB / 1.486 GB, free: 11.77 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000203/0.5575, allocations: 54.25 kB / 1.486 GB, free: 11.71 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.5576, allocations: 75.36 kB / 1.487 GB, free: 11.64 MB / 1.186 GB Notification: Performance of SimCode: time 7.02e-07/0.5576, allocations: 0 / 1.487 GB, free: 11.64 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04181/0.5994, allocations: 9.526 MB / 1.496 GB, free: 2.367 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.1, allocations: 12.83 kB / 1.496 GB, free: 2.363 MB / 1.186 GB " [Timeout remaining time 287] (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: 19.537093004677445]