Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007922/0.007922, allocations: 100.4 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 192.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.539/2.539, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 66.36 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3015, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1889/0.4905, allocations: 161.5 MB / 1.246 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005025/0.4955, allocations: 3.499 MB / 1.249 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.4959, allocations: 11.94 kB / 1.249 GB, free: 11.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.4964, allocations: 127 kB / 1.249 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.4975, allocations: 449.8 kB / 1.25 GB, free: 11.21 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.4989, allocations: 0.5994 MB / 1.25 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006228/0.4995, allocations: 0.6322 MB / 1.251 GB, free: 9.977 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.4999, allocations: 216.7 kB / 1.251 GB, free: 9.766 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.5011, allocations: 344.3 kB / 1.251 GB, free: 9.441 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.5014, allocations: 199.1 kB / 1.252 GB, free: 9.246 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.5014, allocations: 24 kB / 1.252 GB, free: 9.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009569/0.5024, allocations: 0.5456 MB / 1.252 GB, free: 8.676 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.5025, allocations: 99.7 kB / 1.252 GB, free: 8.578 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.5027, allocations: 147.3 kB / 1.252 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008088/0.5035, allocations: 0.5492 MB / 1.253 GB, free: 7.883 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.5035, allocations: 4 kB / 1.253 GB, free: 7.879 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5035, allocations: 0 / 1.253 GB, free: 7.879 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.5036, allocations: 0 / 1.253 GB, free: 7.879 MB / 1.014 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.001128/0.5047, allocations: 0.6389 MB / 1.254 GB, free: 7.191 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5047, allocations: 8.031 kB / 1.254 GB, free: 7.184 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004906/0.5052, allocations: 71.52 kB / 1.254 GB, free: 7.113 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.5056, allocations: 309.3 kB / 1.254 GB, free: 6.773 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5057, allocations: 20.38 kB / 1.254 GB, free: 6.754 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.5057, allocations: 24 kB / 1.254 GB, free: 6.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.5064, allocations: 308.2 kB / 1.254 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5065, allocations: 0 / 1.254 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.5065, allocations: 12 kB / 1.254 GB, free: 6.395 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5065, allocations: 7.938 kB / 1.254 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.5072, allocations: 256.6 kB / 1.254 GB, free: 6.137 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.5087, allocations: 1.244 MB / 1.256 GB, free: 4.781 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.5091, allocations: 174.5 kB / 1.256 GB, free: 4.602 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.5094, allocations: 128.7 kB / 1.256 GB, free: 4.473 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005345/0.51, allocations: 303.2 kB / 1.256 GB, free: 4.121 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.51, allocations: 34.56 kB / 1.256 GB, free: 4.078 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.51, allocations: 0 / 1.256 GB, free: 4.078 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.002138/0.5122, allocations: 0.5721 MB / 1.257 GB, free: 3.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.5122, allocations: 55.41 kB / 1.257 GB, free: 3.414 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.5125, allocations: 263 kB / 1.257 GB, free: 3.148 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.5125, allocations: 25.7 kB / 1.257 GB, free: 3.117 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.5126, allocations: 168.2 kB / 1.257 GB, free: 2.949 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.5126, allocations: 51.2 kB / 1.257 GB, free: 2.898 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.5127, allocations: 33.72 kB / 1.257 GB, free: 2.859 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5128, allocations: 334.8 kB / 1.258 GB, free: 2.523 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.5131, allocations: 99.91 kB / 1.258 GB, free: 2.426 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.5134, allocations: 132.1 kB / 1.258 GB, free: 2.281 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.514, allocations: 240.1 kB / 1.258 GB, free: 2.031 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.514, allocations: 0 / 1.258 GB, free: 2.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001126/0.5152, allocations: 349.8 kB / 1.259 GB, free: 1.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5152, allocations: 4 kB / 1.259 GB, free: 1.676 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5152, allocations: 7.984 kB / 1.259 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/0.5158, allocations: 88.88 kB / 1.259 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.5161, allocations: 43.97 kB / 1.259 GB, free: 1.535 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6065/1.123, allocations: 1.718 MB / 1.26 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/1.123, allocations: 34.38 kB / 1.26 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/1.123, allocations: 6.359 kB / 1.26 GB, free: 175.6 MB / 1.014 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.0001895/1.123, allocations: 150.6 kB / 1.261 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/1.123, allocations: 27.42 kB / 1.261 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/1.125, allocations: 361 kB / 1.261 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.125, allocations: 2.281 kB / 1.261 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.125, allocations: 2.141 kB / 1.261 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.125, allocations: 0.5156 kB / 1.261 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/1.127, allocations: 0.7727 MB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.127, allocations: 2.484 kB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/1.127, allocations: 37.22 kB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004783/1.127, allocations: 82.19 kB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/1.127, allocations: 8.812 kB / 1.262 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.129, allocations: 1.741 MB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.129, allocations: 4.453 kB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/1.13, allocations: 462.7 kB / 1.264 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/1.13, allocations: 118.7 kB / 1.264 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/1.131, allocations: 7.125 kB / 1.264 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/1.131, allocations: 23.91 kB / 1.264 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/1.131, allocations: 17.47 kB / 1.264 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/1.131, allocations: 6.656 kB / 1.264 GB, free: 173.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002121/1.131, allocations: 189.1 kB / 1.264 GB, free: 173.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 0 / 1.264 GB, free: 173.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004747/1.132, allocations: 82.73 kB / 1.264 GB, free: 173.3 MB / 1.014 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.0004047/1.132, allocations: 170.8 kB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001116/1.133, allocations: 369.7 kB / 1.265 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.133, allocations: 0 / 1.265 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006251/1.134, allocations: 253.6 kB / 1.265 GB, free: 172.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/1.135, allocations: 119.4 kB / 1.265 GB, free: 172.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/1.136, allocations: 0.5011 MB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.136, allocations: 0.7677 MB / 1.266 GB, free: 171.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002189/1.136, allocations: 59.72 kB / 1.267 GB, free: 171.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/1.136, allocations: 25.69 kB / 1.267 GB, free: 171.9 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/1.136, allocations: 0 / 1.267 GB, free: 171.9 MB / 1.014 GB Notification: Performance of Templates: time 0.01492/1.151, allocations: 5.978 MB / 1.272 GB, free: 171.6 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches