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.001766/0.001766, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002017/0.002017, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.093/3.093, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.002203/0.002203, allocations: 70.53 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3432, allocations: 180.2 MB / 1.348 GB, free: 9.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1911/0.5343, allocations: 164.9 MB / 1.509 GB, free: 4.375 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005419/0.5397, allocations: 3.519 MB / 1.512 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.5401, allocations: 15.88 kB / 1.512 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.5406, allocations: 135 kB / 1.512 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.5421, allocations: 469.9 kB / 1.513 GB, free: 240 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.5439, allocations: 0.6065 MB / 1.513 GB, free: 15.62 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009287/0.5448, allocations: 0.6282 MB / 1.514 GB, free: 15 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/0.5452, allocations: 188.8 kB / 1.514 GB, free: 14.81 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.5471, allocations: 0.5046 MB / 1.515 GB, free: 14.32 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.5474, allocations: 203.2 kB / 1.515 GB, free: 14.12 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.5475, allocations: 20 kB / 1.515 GB, free: 14.1 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.5486, allocations: 0.5846 MB / 1.516 GB, free: 13.51 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.5488, allocations: 95.66 kB / 1.516 GB, free: 13.42 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.5489, allocations: 143.3 kB / 1.516 GB, free: 13.28 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.55, allocations: 0.5606 MB / 1.516 GB, free: 12.71 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.55, allocations: 0 / 1.516 GB, free: 12.71 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.453e-06/0.55, allocations: 4 kB / 1.516 GB, free: 12.71 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.55, allocations: 0 / 1.516 GB, free: 12.71 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.001203/0.5512, allocations: 0.6422 MB / 1.517 GB, free: 12.02 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.5513, allocations: 15.97 kB / 1.517 GB, free: 12 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.872e-05/0.5514, allocations: 62.55 kB / 1.517 GB, free: 11.93 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005847/0.5519, allocations: 79.69 kB / 1.517 GB, free: 11.86 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.5524, allocations: 301.6 kB / 1.517 GB, free: 11.52 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.5524, allocations: 20.38 kB / 1.517 GB, free: 11.5 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.5525, allocations: 16 kB / 1.517 GB, free: 11.48 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.5532, allocations: 316.1 kB / 1.518 GB, free: 11.15 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.5532, allocations: 4 kB / 1.518 GB, free: 11.15 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.5532, allocations: 8 kB / 1.518 GB, free: 11.14 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.5532, allocations: 11.94 kB / 1.518 GB, free: 11.13 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.5539, allocations: 244.9 kB / 1.518 GB, free: 10.89 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.5557, allocations: 1.252 MB / 1.519 GB, free: 9.523 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.5561, allocations: 158.5 kB / 1.519 GB, free: 9.359 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.5565, allocations: 120.8 kB / 1.519 GB, free: 9.238 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006602/0.5571, allocations: 303.2 kB / 1.52 GB, free: 8.887 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.5572, allocations: 42.56 kB / 1.52 GB, free: 8.836 MB / 1.217 GB Notification: Performance of pre-optimization done (n=14): time 2.364e-06/0.5572, allocations: 4 kB / 1.52 GB, free: 8.832 MB / 1.217 GB Notification: Performance of matching and sorting (n=14): time 0.002349/0.5595, allocations: 0.5712 MB / 1.52 GB, free: 8.234 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.5596, allocations: 63.33 kB / 1.52 GB, free: 8.16 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.5599, allocations: 255 kB / 1.521 GB, free: 7.902 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.5599, allocations: 33.7 kB / 1.521 GB, free: 7.863 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.56, allocations: 160.3 kB / 1.521 GB, free: 7.703 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.5601, allocations: 59.53 kB / 1.521 GB, free: 7.645 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.5602, allocations: 37.66 kB / 1.521 GB, free: 7.602 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5603, allocations: 330.8 kB / 1.521 GB, free: 7.27 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.5606, allocations: 95.91 kB / 1.521 GB, free: 7.176 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.561, allocations: 140.1 kB / 1.521 GB, free: 7.023 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.5616, allocations: 243.1 kB / 1.522 GB, free: 6.773 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5616, allocations: 0 / 1.522 GB, free: 6.773 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001212/0.5628, allocations: 350 kB / 1.522 GB, free: 6.422 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5629, allocations: 9.719 kB / 1.522 GB, free: 6.414 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5629, allocations: 128 / 1.522 GB, free: 6.414 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.5635, allocations: 88.77 kB / 1.522 GB, free: 6.324 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.5637, allocations: 43.97 kB / 1.522 GB, free: 6.281 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.5662, allocations: 1.724 MB / 1.524 GB, free: 4.414 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.5664, allocations: 27.88 kB / 1.524 GB, free: 4.387 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.5665, allocations: 11.98 kB / 1.524 GB, free: 4.375 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.0001953/0.5666, allocations: 145.8 kB / 1.524 GB, free: 4.223 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.5667, allocations: 23.86 kB / 1.524 GB, free: 4.199 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.5679, allocations: 373.6 kB / 1.524 GB, free: 3.828 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5679, allocations: 0 / 1.524 GB, free: 3.828 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.5679, allocations: 0 / 1.524 GB, free: 3.828 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5679, allocations: 4 kB / 1.524 GB, free: 3.824 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.5697, allocations: 0.7824 MB / 1.525 GB, free: 2.973 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5697, allocations: 0 / 1.525 GB, free: 2.973 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.5699, allocations: 35.91 kB / 1.525 GB, free: 2.938 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/0.5704, allocations: 88.8 kB / 1.525 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.5704, allocations: 8 kB / 1.525 GB, free: 2.84 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.5726, allocations: 1.724 MB / 1.527 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.5726, allocations: 4.062 kB / 1.527 GB, free: 0.9648 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.5738, allocations: 462.5 kB / 1.527 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.574, allocations: 128.8 kB / 1.528 GB, free: 348 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.574, allocations: 7.875 kB / 1.528 GB, free: 340 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.5743, allocations: 27.97 kB / 1.528 GB, free: 312 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.5743, allocations: 19.97 kB / 1.528 GB, free: 292 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.5744, allocations: 4 kB / 1.528 GB, free: 288 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001945/0.5746, allocations: 186 kB / 1.528 GB, free: 104 kB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5746, allocations: 0 / 1.528 GB, free: 104 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004347/0.575, allocations: 83.89 kB / 1.528 GB, free: 20 kB / 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.001757/0.5767, allocations: 1.031 MB / 1.529 GB, free: 14.95 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.5778, allocations: 358.4 kB / 1.529 GB, free: 14.59 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5778, allocations: 0 / 1.529 GB, free: 14.59 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.5785, allocations: 258.9 kB / 1.529 GB, free: 14.32 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.5792, allocations: 121.4 kB / 1.53 GB, free: 14.2 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.5845, allocations: 2.825 MB / 1.532 GB, free: 11.25 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.585, allocations: 0.7675 MB / 1.533 GB, free: 10.46 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.5852, allocations: 62.25 kB / 1.533 GB, free: 10.4 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.5853, allocations: 75.41 kB / 1.533 GB, free: 10.33 MB / 1.232 GB Notification: Performance of SimCode: time 9.62e-07/0.5853, allocations: 0 / 1.533 GB, free: 10.33 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.6255, allocations: 8.683 MB / 1.542 GB, free: 1.844 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.48, allocations: 4 kB / 1.542 GB, free: 1.84 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.064672125969082]