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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007696/0.007696, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.001684/0.001685, allocations: 200.3 kB / 16.68 MB, free: 5.906 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.538/2.538, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.91 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.8493, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1818/1.031, allocations: 161.5 MB / 1.365 GB, free: 11.47 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004869/1.036, allocations: 3.478 MB / 1.369 GB, free: 7.98 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/1.036, allocations: 15.88 kB / 1.369 GB, free: 7.965 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000472/1.037, allocations: 135 kB / 1.369 GB, free: 7.832 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/1.038, allocations: 445.9 kB / 1.369 GB, free: 7.395 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/1.04, allocations: 0.6028 MB / 1.37 GB, free: 6.793 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0007086/1.04, allocations: 0.6244 MB / 1.371 GB, free: 6.168 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/1.041, allocations: 228.7 kB / 1.371 GB, free: 5.945 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/1.042, allocations: 341.1 kB / 1.371 GB, free: 5.621 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/1.042, allocations: 203.1 kB / 1.371 GB, free: 5.422 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/1.042, allocations: 20 kB / 1.371 GB, free: 5.402 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000858/1.043, allocations: 0.5534 MB / 1.372 GB, free: 4.848 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/1.043, allocations: 95.72 kB / 1.372 GB, free: 4.754 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/1.043, allocations: 143.3 kB / 1.372 GB, free: 4.613 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007357/1.044, allocations: 0.5512 MB / 1.373 GB, free: 4.062 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/1.044, allocations: 0 / 1.373 GB, free: 4.062 MB / 1.092 GB Notification: Performance of FrontEnd: time 9.22e-07/1.044, allocations: 0 / 1.373 GB, free: 4.062 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.675e-06/1.044, allocations: 0 / 1.373 GB, free: 4.062 MB / 1.092 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.001106/1.045, allocations: 0.635 MB / 1.373 GB, free: 3.379 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.045, allocations: 8.031 kB / 1.373 GB, free: 3.371 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/1.046, allocations: 83.48 kB / 1.373 GB, free: 3.289 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/1.046, allocations: 305.3 kB / 1.374 GB, free: 2.949 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/1.046, allocations: 16.44 kB / 1.374 GB, free: 2.934 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/1.046, allocations: 16 kB / 1.374 GB, free: 2.918 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/1.047, allocations: 320.1 kB / 1.374 GB, free: 2.582 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.047, allocations: 0 / 1.374 GB, free: 2.582 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/1.047, allocations: 8 kB / 1.374 GB, free: 2.574 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.047, allocations: 7.938 kB / 1.374 GB, free: 2.566 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007067/1.048, allocations: 252.9 kB / 1.374 GB, free: 2.32 MB / 1.092 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.001615/1.049, allocations: 1.244 MB / 1.375 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/1.05, allocations: 178.5 kB / 1.376 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/1.05, allocations: 120.8 kB / 1.376 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/1.051, allocations: 307.2 kB / 1.376 GB, free: 308 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/1.051, allocations: 34.56 kB / 1.376 GB, free: 264 kB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/1.051, allocations: 0 / 1.376 GB, free: 264 kB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.002291/1.053, allocations: 0.5727 MB / 1.377 GB, free: 15.66 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/1.053, allocations: 55.41 kB / 1.377 GB, free: 15.59 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/1.053, allocations: 259 kB / 1.377 GB, free: 15.33 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/1.053, allocations: 29.7 kB / 1.377 GB, free: 15.29 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/1.054, allocations: 172.1 kB / 1.377 GB, free: 15.12 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/1.054, allocations: 43.34 kB / 1.377 GB, free: 15.08 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/1.054, allocations: 37.72 kB / 1.377 GB, free: 15.04 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.054, allocations: 330.8 kB / 1.378 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/1.054, allocations: 99.91 kB / 1.378 GB, free: 14.61 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/1.054, allocations: 137.9 kB / 1.378 GB, free: 14.46 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/1.055, allocations: 232.1 kB / 1.378 GB, free: 14.21 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.055, allocations: 0 / 1.378 GB, free: 14.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001164/1.056, allocations: 361.9 kB / 1.378 GB, free: 13.85 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.056, allocations: 7.984 kB / 1.378 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.056, allocations: 11.88 kB / 1.378 GB, free: 13.83 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/1.057, allocations: 84.86 kB / 1.378 GB, free: 13.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/1.057, allocations: 35.97 kB / 1.378 GB, free: 13.71 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/1.059, allocations: 1.733 MB / 1.38 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/1.059, allocations: 31.84 kB / 1.38 GB, free: 11.81 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/1.059, allocations: 8 kB / 1.38 GB, free: 11.8 MB / 1.107 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.0001489/1.06, allocations: 141.9 kB / 1.38 GB, free: 11.65 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/1.06, allocations: 27.7 kB / 1.38 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.061, allocations: 371.8 kB / 1.381 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.061, allocations: 0 / 1.381 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/1.061, allocations: 0 / 1.381 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/1.061, allocations: 3.984 kB / 1.381 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/1.063, allocations: 0.7784 MB / 1.381 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.063, allocations: 0 / 1.381 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/1.063, allocations: 47.89 kB / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/1.063, allocations: 76.88 kB / 1.382 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/1.063, allocations: 7.938 kB / 1.382 GB, free: 10.27 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/1.065, allocations: 1.739 MB / 1.383 GB, free: 8.379 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.065, allocations: 0 / 1.383 GB, free: 8.379 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.066, allocations: 458.3 kB / 1.384 GB, free: 7.902 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.067, allocations: 124.8 kB / 1.384 GB, free: 7.762 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/1.067, allocations: 0 / 1.384 GB, free: 7.762 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/1.067, allocations: 27.91 kB / 1.384 GB, free: 7.734 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/1.067, allocations: 19.92 kB / 1.384 GB, free: 7.715 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/1.067, allocations: 8 kB / 1.384 GB, free: 7.707 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001572/1.067, allocations: 182 kB / 1.384 GB, free: 7.535 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.9e-07/1.067, allocations: 4 kB / 1.384 GB, free: 7.531 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004263/1.068, allocations: 91.83 kB / 1.384 GB, free: 7.441 MB / 1.107 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.0003942/1.068, allocations: 163.1 kB / 1.384 GB, free: 7.281 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.069, allocations: 369.8 kB / 1.385 GB, free: 6.91 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.069, allocations: 0 / 1.385 GB, free: 6.91 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/1.07, allocations: 258.6 kB / 1.385 GB, free: 6.645 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/1.07, allocations: 117 kB / 1.385 GB, free: 6.531 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/1.071, allocations: 0.5002 MB / 1.386 GB, free: 6 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/1.072, allocations: 0.779 MB / 1.386 GB, free: 5.195 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001889/1.072, allocations: 62.23 kB / 1.386 GB, free: 5.137 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/1.072, allocations: 27.44 kB / 1.386 GB, free: 5.113 MB / 1.107 GB Notification: Performance of SimCode: time 4.01e-07/1.072, allocations: 3.938 kB / 1.386 GB, free: 5.109 MB / 1.107 GB Notification: Performance of Templates: time 0.01098/1.083, allocations: 6.085 MB / 1.392 GB, free: 15.1 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) 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) Reference file matches