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.001558/0.001558, allocations: 105.7 kB / 16.41 MB, free: 6.488 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.001784/0.001784, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.182/2.182, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 72.08 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8772/0.8796, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1931/1.073, allocations: 161.5 MB / 1.246 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005582/1.078, allocations: 3.489 MB / 1.25 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/1.079, allocations: 11.94 kB / 1.25 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000619/1.08, allocations: 138.9 kB / 1.25 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/1.081, allocations: 449.9 kB / 1.25 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/1.083, allocations: 0.5919 MB / 1.251 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000974/1.084, allocations: 0.6205 MB / 1.252 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004878/1.085, allocations: 232.7 kB / 1.252 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/1.086, allocations: 362.8 kB / 1.252 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/1.087, allocations: 199.2 kB / 1.252 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.778e-05/1.087, allocations: 24 kB / 1.252 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/1.088, allocations: 0.5378 MB / 1.253 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/1.088, allocations: 99.7 kB / 1.253 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/1.088, allocations: 147.3 kB / 1.253 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/1.09, allocations: 0.555 MB / 1.254 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.09, allocations: 0 / 1.254 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.465e-06/1.09, allocations: 0 / 1.254 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.86e-05/1.09, allocations: 0 / 1.254 GB, free: 4.781 MB / 0.9825 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.001394/1.091, allocations: 0.6311 MB / 1.254 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.091, allocations: 8.031 kB / 1.254 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005912/1.092, allocations: 75.52 kB / 1.254 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/1.092, allocations: 317.2 kB / 1.255 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/1.092, allocations: 16.44 kB / 1.255 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/1.093, allocations: 20 kB / 1.255 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/1.093, allocations: 312.2 kB / 1.255 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.093, allocations: 3.938 kB / 1.255 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/1.093, allocations: 8 kB / 1.255 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/1.093, allocations: 7.938 kB / 1.255 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/1.094, allocations: 252.9 kB / 1.255 GB, free: 3.043 MB / 0.9825 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.001871/1.096, allocations: 1.24 MB / 1.256 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/1.096, allocations: 174.5 kB / 1.257 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/1.097, allocations: 120.8 kB / 1.257 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/1.097, allocations: 307.2 kB / 1.257 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.097, allocations: 34.55 kB / 1.257 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.953e-06/1.097, allocations: 0 / 1.257 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.00233/1.1, allocations: 0.5731 MB / 1.258 GB, free: 400 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.1, allocations: 59.41 kB / 1.258 GB, free: 328 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/1.1, allocations: 259 kB / 1.258 GB, free: 60 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/1.1, allocations: 25.7 kB / 1.258 GB, free: 28 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/1.1, allocations: 164.2 kB / 1.258 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/1.1, allocations: 47.25 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/1.1, allocations: 41.7 kB / 1.258 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.101, allocations: 330.8 kB / 1.258 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/1.101, allocations: 107.8 kB / 1.259 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/1.101, allocations: 130.2 kB / 1.259 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/1.102, allocations: 244 kB / 1.259 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.102, allocations: 0 / 1.259 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001168/1.103, allocations: 356.7 kB / 1.259 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.103, allocations: 4 kB / 1.259 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.103, allocations: 4 kB / 1.259 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/1.104, allocations: 88.88 kB / 1.259 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/1.104, allocations: 47.91 kB / 1.259 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/1.106, allocations: 1.72 MB / 1.261 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/1.107, allocations: 27.88 kB / 1.261 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/1.107, allocations: 12 kB / 1.261 GB, free: 12.54 MB / 0.9981 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.0001852/1.107, allocations: 150.8 kB / 1.261 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/1.107, allocations: 27.72 kB / 1.261 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/1.108, allocations: 364 kB / 1.262 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.108, allocations: 0 / 1.262 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/1.108, allocations: 3.938 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.108, allocations: 8 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/1.11, allocations: 0.7707 MB / 1.262 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.11, allocations: 0 / 1.262 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/1.11, allocations: 35.97 kB / 1.262 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/1.111, allocations: 80.86 kB / 1.262 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/1.111, allocations: 11.94 kB / 1.263 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/1.113, allocations: 1.739 MB / 1.264 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.113, allocations: 0 / 1.264 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/1.114, allocations: 462.3 kB / 1.265 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/1.114, allocations: 120.8 kB / 1.265 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/1.114, allocations: 4 kB / 1.265 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/1.115, allocations: 27.91 kB / 1.265 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/1.115, allocations: 19.97 kB / 1.265 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/1.115, allocations: 8 kB / 1.265 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001877/1.115, allocations: 186 kB / 1.265 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.115, allocations: 0 / 1.265 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004605/1.115, allocations: 79.84 kB / 1.265 GB, free: 8.188 MB / 0.9981 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.0004607/1.116, allocations: 168.9 kB / 1.265 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.117, allocations: 358.4 kB / 1.266 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.117, allocations: 0 / 1.266 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/1.118, allocations: 255 kB / 1.266 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/1.118, allocations: 123.7 kB / 1.266 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.119, allocations: 0.5265 MB / 1.266 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/1.12, allocations: 0.7714 MB / 1.267 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/1.12, allocations: 23.44 kB / 1.267 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.12, allocations: 0 / 1.267 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Templates: time 0.01024/1.13, allocations: 5.405 MB / 1.273 GB, free: 0.5195 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches