Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001265/0.001265, allocations: 107.8 kB / 15.99 MB, free: 5.914 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.0013/0.0013, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 68.52 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3472, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.7479/1.095, allocations: 159.3 MB / 1.22 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005697/1.101, allocations: 3.473 MB / 1.223 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/1.101, allocations: 9.562 kB / 1.223 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005037/1.102, allocations: 105.9 kB / 1.223 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/1.103, allocations: 426.4 kB / 1.224 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/1.105, allocations: 0.5456 MB / 1.224 GB, free: 3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008968/1.106, allocations: 0.6316 MB / 1.225 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/1.106, allocations: 223.7 kB / 1.225 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/1.108, allocations: 343.5 kB / 1.225 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/1.109, allocations: 208.6 kB / 1.225 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/1.109, allocations: 23.56 kB / 1.226 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/1.11, allocations: 0.5647 MB / 1.226 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/1.11, allocations: 96.73 kB / 1.226 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/1.11, allocations: 144.6 kB / 1.226 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006163/1.111, allocations: 396.2 kB / 1.227 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.111, allocations: 0 / 1.227 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/1.111, allocations: 0 / 1.227 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.111, allocations: 4 kB / 1.227 GB, free: 1.5 MB / 0.9356 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.001156/1.112, allocations: 0.6313 MB / 1.227 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.112, allocations: 10.53 kB / 1.227 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005713/1.113, allocations: 78.11 kB / 1.227 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/1.113, allocations: 299.7 kB / 1.228 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/1.113, allocations: 16 kB / 1.228 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/1.113, allocations: 21 kB / 1.228 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/1.114, allocations: 315.4 kB / 1.228 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.114, allocations: 3.938 kB / 1.228 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/1.114, allocations: 6.75 kB / 1.228 GB, free: 388 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.114, allocations: 5.094 kB / 1.228 GB, free: 388 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/1.114, allocations: 254.5 kB / 1.228 GB, free: 268 kB / 0.9356 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.001726/1.116, allocations: 1.244 MB / 1.229 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/1.117, allocations: 180.7 kB / 1.23 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/1.117, allocations: 117.5 kB / 1.23 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/1.118, allocations: 303.1 kB / 1.23 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.118, allocations: 39.11 kB / 1.23 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 3.677e-06/1.118, allocations: 0 / 1.23 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.002395/1.12, allocations: 0.5753 MB / 1.231 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.12, allocations: 54.28 kB / 1.231 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/1.12, allocations: 260.2 kB / 1.231 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/1.12, allocations: 29.7 kB / 1.231 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/1.121, allocations: 162.5 kB / 1.231 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/1.121, allocations: 45.7 kB / 1.231 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.121, allocations: 39.36 kB / 1.231 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.121, allocations: 339.8 kB / 1.232 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/1.121, allocations: 100.8 kB / 1.232 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/1.122, allocations: 134.4 kB / 1.232 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/1.122, allocations: 235.1 kB / 1.232 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/1.122, allocations: 4 kB / 1.232 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001237/1.123, allocations: 349.8 kB / 1.232 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.123, allocations: 4 kB / 1.232 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.124, allocations: 4 kB / 1.232 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000662/1.124, allocations: 88.88 kB / 1.232 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/1.124, allocations: 48.72 kB / 1.232 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/1.127, allocations: 1.733 MB / 1.234 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/1.127, allocations: 31.81 kB / 1.234 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/1.127, allocations: 11.94 kB / 1.234 GB, free: 10.51 MB / 0.9512 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.0001956/1.128, allocations: 143.1 kB / 1.234 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/1.128, allocations: 27.72 kB / 1.234 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/1.129, allocations: 371.9 kB / 1.235 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.129, allocations: 4 kB / 1.235 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/1.129, allocations: 0 / 1.235 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.129, allocations: 0 / 1.235 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/1.131, allocations: 0.7747 MB / 1.235 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.131, allocations: 0 / 1.235 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/1.131, allocations: 35.97 kB / 1.235 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/1.131, allocations: 84.8 kB / 1.236 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/1.131, allocations: 3.938 kB / 1.236 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/1.134, allocations: 1.755 MB / 1.237 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/1.134, allocations: 4.031 kB / 1.237 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/1.135, allocations: 450.4 kB / 1.238 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/1.135, allocations: 124.7 kB / 1.238 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/1.135, allocations: 7.984 kB / 1.238 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/1.136, allocations: 31.97 kB / 1.238 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/1.136, allocations: 19.98 kB / 1.238 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/1.136, allocations: 8 kB / 1.238 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002215/1.136, allocations: 186 kB / 1.238 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.136, allocations: 0 / 1.238 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005028/1.136, allocations: 83.83 kB / 1.238 GB, free: 6.145 MB / 0.9512 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.0004684/1.137, allocations: 153.3 kB / 1.238 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.138, allocations: 365.5 kB / 1.239 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.138, allocations: 0 / 1.239 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006061/1.139, allocations: 258.8 kB / 1.239 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/1.139, allocations: 131.9 kB / 1.239 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/1.141, allocations: 0.6282 MB / 1.24 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/1.141, allocations: 0.7714 MB / 1.24 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/1.141, allocations: 19.44 kB / 1.24 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/1.141, allocations: 0 / 1.24 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of Templates: time 0.009225/1.15, allocations: 5.383 MB / 1.246 GB, free: 14.4 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches