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.001332/0.001332, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00155/0.00155, allocations: 210.2 kB / 22.99 MB, free: 4.957 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.348/3.348, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [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.002104/0.002104, allocations: 71.69 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4003, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2448/0.6451, allocations: 142.3 MB / 1.466 GB, free: 2.098 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006055/0.6511, allocations: 3.255 MB / 1.469 GB, free: 14.84 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.6515, allocations: 15.88 kB / 1.469 GB, free: 14.82 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.652, allocations: 150.9 kB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.6534, allocations: 457.9 kB / 1.47 GB, free: 14.22 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.6554, allocations: 0.6072 MB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009227/0.6563, allocations: 0.64 MB / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.6567, allocations: 184.8 kB / 1.471 GB, free: 12.8 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.6586, allocations: 0.5081 MB / 1.472 GB, free: 12.3 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.6589, allocations: 207.1 kB / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.6589, allocations: 24 kB / 1.472 GB, free: 12.07 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.66, allocations: 474.9 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.6601, allocations: 95.7 kB / 1.473 GB, free: 11.51 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.6602, allocations: 123.4 kB / 1.473 GB, free: 11.39 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009191/0.6612, allocations: 0.5411 MB / 1.473 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6612, allocations: 0 / 1.473 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6612, allocations: 0 / 1.473 GB, free: 10.85 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.6612, allocations: 0 / 1.473 GB, free: 10.85 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.001254/0.6624, allocations: 0.5785 MB / 1.474 GB, free: 10.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.6625, allocations: 8.031 kB / 1.474 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.6631, allocations: 83.69 kB / 1.474 GB, free: 10.14 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.6636, allocations: 243.7 kB / 1.474 GB, free: 9.879 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.6636, allocations: 16.44 kB / 1.474 GB, free: 9.863 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.6636, allocations: 16 kB / 1.474 GB, free: 9.848 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.6644, allocations: 371.5 kB / 1.474 GB, free: 9.453 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.6644, allocations: 0 / 1.474 GB, free: 9.453 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.6644, allocations: 15.98 kB / 1.474 GB, free: 9.438 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.6644, allocations: 7.938 kB / 1.474 GB, free: 9.43 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.6651, allocations: 244.9 kB / 1.475 GB, free: 9.191 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.6667, allocations: 0.941 MB / 1.476 GB, free: 8.195 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.6671, allocations: 166.5 kB / 1.476 GB, free: 8.023 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.6675, allocations: 120.8 kB / 1.476 GB, free: 7.902 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005045/0.668, allocations: 67.92 kB / 1.476 GB, free: 7.836 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.668, allocations: 38.56 kB / 1.476 GB, free: 7.789 MB / 1.17 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.668, allocations: 0 / 1.476 GB, free: 7.789 MB / 1.17 GB Notification: Performance of matching and sorting (n=14): time 0.00242/0.6704, allocations: 0.5005 MB / 1.476 GB, free: 7.281 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.6705, allocations: 51.41 kB / 1.477 GB, free: 7.219 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.6708, allocations: 225.1 kB / 1.477 GB, free: 6.992 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.6708, allocations: 29.64 kB / 1.477 GB, free: 6.957 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.671, allocations: 180.3 kB / 1.477 GB, free: 6.777 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.671, allocations: 51.53 kB / 1.477 GB, free: 6.727 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.6711, allocations: 37.66 kB / 1.477 GB, free: 6.684 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6713, allocations: 334.8 kB / 1.477 GB, free: 6.348 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.6716, allocations: 95.91 kB / 1.477 GB, free: 6.254 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.672, allocations: 161.9 kB / 1.478 GB, free: 6.074 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.6726, allocations: 236.1 kB / 1.478 GB, free: 5.828 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6726, allocations: 0 / 1.478 GB, free: 5.828 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001286/0.6739, allocations: 354 kB / 1.478 GB, free: 5.473 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6739, allocations: 8 kB / 1.478 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6739, allocations: 0 / 1.478 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007302/0.6747, allocations: 96.81 kB / 1.478 GB, free: 5.367 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.6749, allocations: 39.97 kB / 1.478 GB, free: 5.328 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.6775, allocations: 1.597 MB / 1.48 GB, free: 3.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.6777, allocations: 39.86 kB / 1.48 GB, free: 3.598 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.6778, allocations: 4 kB / 1.48 GB, free: 3.594 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.0002399/0.678, allocations: 149.8 kB / 1.48 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.6781, allocations: 19.86 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.6793, allocations: 363.8 kB / 1.48 GB, free: 3.043 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6793, allocations: 4 kB / 1.48 GB, free: 3.039 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.6793, allocations: 0 / 1.48 GB, free: 3.039 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6793, allocations: 4 kB / 1.48 GB, free: 3.035 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.6811, allocations: 0.6884 MB / 1.481 GB, free: 2.297 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6811, allocations: 0 / 1.481 GB, free: 2.297 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.6813, allocations: 31.97 kB / 1.481 GB, free: 2.266 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/0.6818, allocations: 84.8 kB / 1.481 GB, free: 2.18 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.6818, allocations: 4 kB / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.684, allocations: 1.621 MB / 1.483 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.684, allocations: 0 / 1.483 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.6853, allocations: 450.6 kB / 1.483 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.6854, allocations: 43.77 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.6855, allocations: 4 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.6857, allocations: 27.97 kB / 1.483 GB, free: 15.9 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.6858, allocations: 15.97 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.6858, allocations: 15.88 kB / 1.483 GB, free: 15.87 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001542/0.686, allocations: 160.5 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.686, allocations: 3.938 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004829/0.6865, allocations: 83.83 kB / 1.484 GB, free: 15.63 MB / 1.186 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.000288/0.6867, allocations: 143.1 kB / 1.484 GB, free: 15.48 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.6879, allocations: 354.4 kB / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6879, allocations: 0 / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.6885, allocations: 258.8 kB / 1.484 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.6891, allocations: 106 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.6901, allocations: 0.502 MB / 1.485 GB, free: 14.22 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.6903, allocations: 162.8 kB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.6905, allocations: 49.92 kB / 1.485 GB, free: 14 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.6905, allocations: 23.38 kB / 1.485 GB, free: 13.97 MB / 1.186 GB Notification: Performance of SimCode: time 4.5e-07/0.6905, allocations: 0 / 1.485 GB, free: 13.97 MB / 1.186 GB Notification: Performance of Templates: time 0.01174/0.7023, allocations: 5.893 MB / 1.491 GB, free: 8.199 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.147756352991564]