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.001361/0.001361, 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.001657/0.001657, allocations: 212.1 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.785 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.553/3.553, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_latest_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_latest_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.002151/0.002151, allocations: 66.48 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5331, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.3103/0.8434, allocations: 142.3 MB / 1.503 GB, free: 14.7 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006034/0.8495, allocations: 3.256 MB / 1.506 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.85, allocations: 15.88 kB / 1.506 GB, free: 11.42 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.8506, allocations: 139 kB / 1.506 GB, free: 11.28 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.8524, allocations: 453.9 kB / 1.507 GB, free: 10.84 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.8545, allocations: 0.6115 MB / 1.507 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.8556, allocations: 0.6323 MB / 1.508 GB, free: 9.594 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000544/0.8562, allocations: 184.8 kB / 1.508 GB, free: 9.414 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.8584, allocations: 0.5141 MB / 1.509 GB, free: 8.91 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.8588, allocations: 195.1 kB / 1.509 GB, free: 8.719 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.662e-05/0.8589, allocations: 20 kB / 1.509 GB, free: 8.699 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.86, allocations: 474.8 kB / 1.509 GB, free: 8.234 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.8602, allocations: 103.7 kB / 1.509 GB, free: 8.133 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.8604, allocations: 111.5 kB / 1.509 GB, free: 8.023 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.8617, allocations: 0.5488 MB / 1.51 GB, free: 7.473 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8617, allocations: 4 kB / 1.51 GB, free: 7.469 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8617, allocations: 0 / 1.51 GB, free: 7.469 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.8617, allocations: 0 / 1.51 GB, free: 7.469 MB / 1.201 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.001399/0.8631, allocations: 0.5763 MB / 1.51 GB, free: 6.863 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.8631, allocations: 12.03 kB / 1.51 GB, free: 6.852 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006498/0.8638, allocations: 75.66 kB / 1.511 GB, free: 6.777 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.8644, allocations: 247.6 kB / 1.511 GB, free: 6.508 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.8644, allocations: 24.38 kB / 1.511 GB, free: 6.484 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.8644, allocations: 20 kB / 1.511 GB, free: 6.465 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.8652, allocations: 363.6 kB / 1.511 GB, free: 6.078 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.8652, allocations: 0 / 1.511 GB, free: 6.078 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.8652, allocations: 8 kB / 1.511 GB, free: 6.07 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.8652, allocations: 11.94 kB / 1.511 GB, free: 6.059 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006862/0.8659, allocations: 252.8 kB / 1.511 GB, free: 5.812 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.8676, allocations: 0.9294 MB / 1.512 GB, free: 4.828 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.8681, allocations: 166.5 kB / 1.513 GB, free: 4.656 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.8684, allocations: 112.8 kB / 1.513 GB, free: 4.543 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/0.8689, allocations: 75.92 kB / 1.513 GB, free: 4.469 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.8689, allocations: 34.55 kB / 1.513 GB, free: 4.426 MB / 1.201 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.8689, allocations: 4 kB / 1.513 GB, free: 4.422 MB / 1.201 GB Notification: Performance of matching and sorting (n=14): time 0.002206/0.8711, allocations: 0.4968 MB / 1.513 GB, free: 3.918 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.8712, allocations: 55.41 kB / 1.513 GB, free: 3.852 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.8714, allocations: 221.1 kB / 1.513 GB, free: 3.625 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.8715, allocations: 25.7 kB / 1.513 GB, free: 3.594 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.8716, allocations: 184.2 kB / 1.514 GB, free: 3.41 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.8717, allocations: 55.53 kB / 1.514 GB, free: 3.355 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.8717, allocations: 37.7 kB / 1.514 GB, free: 3.312 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.8719, allocations: 330.8 kB / 1.514 GB, free: 2.98 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.8722, allocations: 91.91 kB / 1.514 GB, free: 2.891 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.8726, allocations: 165.8 kB / 1.514 GB, free: 2.707 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.8732, allocations: 244.1 kB / 1.515 GB, free: 2.453 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8732, allocations: 0 / 1.515 GB, free: 2.453 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001178/0.8743, allocations: 354 kB / 1.515 GB, free: 2.098 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.8744, allocations: 4 kB / 1.515 GB, free: 2.094 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8744, allocations: 0 / 1.515 GB, free: 2.094 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.875, allocations: 92.88 kB / 1.515 GB, free: 2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.8752, allocations: 51.95 kB / 1.515 GB, free: 1.949 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.8775, allocations: 1.579 MB / 1.517 GB, free: 280 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.8778, allocations: 43.86 kB / 1.517 GB, free: 236 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.8778, allocations: 4 kB / 1.517 GB, free: 232 kB / 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.0001731/0.878, allocations: 146.4 kB / 1.517 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.878, allocations: 23.86 kB / 1.517 GB, free: 52 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.8792, allocations: 363.8 kB / 1.517 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.8792, allocations: 192 / 1.517 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.8792, allocations: 0 / 1.517 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.8792, allocations: 7.984 kB / 1.517 GB, free: 15.67 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.8809, allocations: 0.6846 MB / 1.518 GB, free: 14.94 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8809, allocations: 0 / 1.518 GB, free: 14.94 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.8811, allocations: 43.89 kB / 1.518 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/0.8815, allocations: 72.88 kB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.8815, allocations: 12 kB / 1.518 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.8836, allocations: 1.609 MB / 1.519 GB, free: 13.09 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.8836, allocations: 3.938 kB / 1.52 GB, free: 13.09 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.8847, allocations: 450.5 kB / 1.52 GB, free: 12.62 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.8849, allocations: 43.83 kB / 1.52 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.8849, allocations: 0 / 1.52 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.8851, allocations: 27.97 kB / 1.52 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.8852, allocations: 19.97 kB / 1.52 GB, free: 12.53 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.8852, allocations: 7.938 kB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001682/0.8854, allocations: 164.5 kB / 1.52 GB, free: 12.36 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.8854, allocations: 0 / 1.52 GB, free: 12.36 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004475/0.8859, allocations: 87.81 kB / 1.52 GB, free: 12.27 MB / 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.0003128/0.8862, allocations: 147.3 kB / 1.52 GB, free: 12.12 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.8872, allocations: 364.4 kB / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.8872, allocations: 0 / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006175/0.8878, allocations: 254.9 kB / 1.521 GB, free: 11.49 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.8885, allocations: 94.44 kB / 1.521 GB, free: 11.4 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.8895, allocations: 0.4982 MB / 1.522 GB, free: 10.87 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.8897, allocations: 162.8 kB / 1.522 GB, free: 10.69 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.8899, allocations: 53.91 kB / 1.522 GB, free: 10.64 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.89, allocations: 19.44 kB / 1.522 GB, free: 10.62 MB / 1.217 GB Notification: Performance of SimCode: time 3.51e-07/0.89, allocations: 0 / 1.522 GB, free: 10.62 MB / 1.217 GB Notification: Performance of Templates: time 0.0146/0.9046, allocations: 5.832 MB / 1.527 GB, free: 4.898 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.234936133027077]