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.001816/0.001816, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.002263/0.002263, allocations: 213.6 kB / 22.99 MB, free: 4.988 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.099/3.099, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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: 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.002065/0.002065, allocations: 64.22 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3039, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1843/0.4882, allocations: 142.3 MB / 1.466 GB, free: 2.059 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005124/0.4933, allocations: 3.262 MB / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.4936, allocations: 11.88 kB / 1.469 GB, free: 14.78 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.4941, allocations: 139 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.4953, allocations: 457.9 kB / 1.47 GB, free: 14.19 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.4969, allocations: 0.6152 MB / 1.47 GB, free: 13.58 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007834/0.4977, allocations: 0.64 MB / 1.471 GB, free: 12.94 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.4981, allocations: 188.8 kB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.4998, allocations: 0.492 MB / 1.472 GB, free: 12.27 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.5001, allocations: 211.1 kB / 1.472 GB, free: 12.06 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.5002, allocations: 24 kB / 1.472 GB, free: 12.04 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008401/0.501, allocations: 478.9 kB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.5011, allocations: 99.66 kB / 1.473 GB, free: 11.47 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.5013, allocations: 115.5 kB / 1.473 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008311/0.5021, allocations: 0.545 MB / 1.473 GB, free: 10.81 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5021, allocations: 3.938 kB / 1.473 GB, free: 10.81 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5021, allocations: 0 / 1.473 GB, free: 10.81 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5021, allocations: 3.938 kB / 1.473 GB, free: 10.8 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.001139/0.5033, allocations: 0.5762 MB / 1.474 GB, free: 10.2 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5033, allocations: 8.031 kB / 1.474 GB, free: 10.19 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.5039, allocations: 83.69 kB / 1.474 GB, free: 10.11 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.5043, allocations: 243.7 kB / 1.474 GB, free: 9.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.5044, allocations: 16.44 kB / 1.474 GB, free: 9.824 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.5044, allocations: 16 kB / 1.474 GB, free: 9.809 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.5051, allocations: 367.5 kB / 1.474 GB, free: 9.418 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5052, allocations: 0 / 1.474 GB, free: 9.418 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.5052, allocations: 12 kB / 1.474 GB, free: 9.406 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5052, allocations: 7.938 kB / 1.474 GB, free: 9.398 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.5059, allocations: 248.9 kB / 1.475 GB, free: 9.156 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.5075, allocations: 0.945 MB / 1.476 GB, free: 8.156 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.508, allocations: 166.5 kB / 1.476 GB, free: 7.984 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.5083, allocations: 116.8 kB / 1.476 GB, free: 7.867 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/0.5088, allocations: 71.91 kB / 1.476 GB, free: 7.797 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.5088, allocations: 38.56 kB / 1.476 GB, free: 7.75 MB / 1.17 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.5088, allocations: 0 / 1.476 GB, free: 7.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=14): time 0.002445/0.5113, allocations: 0.5 MB / 1.476 GB, free: 7.242 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.5113, allocations: 51.41 kB / 1.477 GB, free: 7.18 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.5116, allocations: 225.1 kB / 1.477 GB, free: 6.953 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.5116, allocations: 25.7 kB / 1.477 GB, free: 6.922 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.5118, allocations: 176.3 kB / 1.477 GB, free: 6.746 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.5118, allocations: 55.53 kB / 1.477 GB, free: 6.691 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.5119, allocations: 37.64 kB / 1.477 GB, free: 6.648 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5121, allocations: 334.8 kB / 1.477 GB, free: 6.312 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.5124, allocations: 95.92 kB / 1.477 GB, free: 6.219 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.5127, allocations: 167.1 kB / 1.478 GB, free: 6.035 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.5133, allocations: 236.1 kB / 1.478 GB, free: 5.789 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5133, allocations: 0 / 1.478 GB, free: 5.789 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001245/0.5146, allocations: 353.2 kB / 1.478 GB, free: 5.438 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5146, allocations: 8 kB / 1.478 GB, free: 5.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5146, allocations: 3.984 kB / 1.478 GB, free: 5.426 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/0.5153, allocations: 92.83 kB / 1.478 GB, free: 5.332 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.5156, allocations: 39.95 kB / 1.478 GB, free: 5.293 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.518, allocations: 1.612 MB / 1.48 GB, free: 3.582 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.5182, allocations: 31.81 kB / 1.48 GB, free: 3.551 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.5182, allocations: 4 kB / 1.48 GB, free: 3.547 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.0001801/0.5184, allocations: 149.8 kB / 1.48 GB, free: 3.391 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.5185, allocations: 23.92 kB / 1.48 GB, free: 3.367 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.5197, allocations: 363.8 kB / 1.48 GB, free: 2.992 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5197, allocations: 4 kB / 1.48 GB, free: 2.988 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.5197, allocations: 0 / 1.48 GB, free: 2.988 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5197, allocations: 3.984 kB / 1.48 GB, free: 2.984 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.5215, allocations: 0.6768 MB / 1.481 GB, free: 2.258 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5215, allocations: 4.078 kB / 1.481 GB, free: 2.254 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.5217, allocations: 39.91 kB / 1.481 GB, free: 2.215 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.5221, allocations: 72.78 kB / 1.481 GB, free: 2.141 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.5222, allocations: 4 kB / 1.481 GB, free: 2.137 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.5243, allocations: 1.621 MB / 1.483 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5243, allocations: 4.031 kB / 1.483 GB, free: 412 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5255, allocations: 454.5 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.5256, allocations: 39.83 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.5256, allocations: 4 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.5259, allocations: 23.97 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.526, allocations: 19.91 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.526, allocations: 16 kB / 1.483 GB, free: 15.83 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001538/0.5262, allocations: 160.5 kB / 1.483 GB, free: 15.67 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5262, allocations: 4 kB / 1.483 GB, free: 15.67 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004567/0.5266, allocations: 87.81 kB / 1.484 GB, free: 15.58 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.0002944/0.5269, allocations: 136.3 kB / 1.484 GB, free: 15.44 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.528, allocations: 365.6 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.528, allocations: 0 / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006462/0.5286, allocations: 254.4 kB / 1.484 GB, free: 14.81 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.5293, allocations: 90.75 kB / 1.484 GB, free: 14.73 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.5302, allocations: 0.5054 MB / 1.485 GB, free: 14.19 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.5304, allocations: 162.8 kB / 1.485 GB, free: 14.01 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.5306, allocations: 61.89 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.5306, allocations: 19.44 kB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/0.5306, allocations: 0 / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of Templates: time 0.01176/0.5424, allocations: 5.887 MB / 1.491 GB, free: 8.16 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 gbode -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: 8.882315070004552]