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.007687/0.007687, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001763/0.001763, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.382/1.382, allocations: 222.9 MB / 240.3 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.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.14 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8812/0.8825, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1961/1.079, allocations: 161.5 MB / 1.246 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005838/1.085, allocations: 3.492 MB / 1.249 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005567/1.085, allocations: 7.938 kB / 1.249 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006094/1.086, allocations: 139 kB / 1.249 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/1.087, allocations: 469.9 kB / 1.25 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/1.09, allocations: 0.6024 MB / 1.25 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009082/1.091, allocations: 0.6283 MB / 1.251 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/1.091, allocations: 224.7 kB / 1.251 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/1.092, allocations: 367.8 kB / 1.251 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/1.093, allocations: 191.2 kB / 1.252 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/1.093, allocations: 20 kB / 1.252 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/1.094, allocations: 0.5534 MB / 1.252 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/1.094, allocations: 95.72 kB / 1.252 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/1.094, allocations: 151.3 kB / 1.252 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008273/1.095, allocations: 0.5551 MB / 1.253 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.095, allocations: 3.938 kB / 1.253 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/1.095, allocations: 0 / 1.253 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.095, allocations: 0 / 1.253 GB, free: 4.801 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.001028/1.096, allocations: 0.6272 MB / 1.254 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.096, allocations: 11.97 kB / 1.254 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005075/1.096, allocations: 79.5 kB / 1.254 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/1.097, allocations: 309.2 kB / 1.254 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.097, allocations: 16.44 kB / 1.254 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/1.097, allocations: 20 kB / 1.254 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/1.098, allocations: 312.2 kB / 1.254 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.098, allocations: 7.875 kB / 1.254 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/1.098, allocations: 12 kB / 1.254 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.098, allocations: 7.938 kB / 1.254 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/1.098, allocations: 244.9 kB / 1.255 GB, free: 3.066 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.001676/1.1, allocations: 1.244 MB / 1.256 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/1.101, allocations: 166.5 kB / 1.256 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/1.101, allocations: 132.7 kB / 1.256 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/1.101, allocations: 299.2 kB / 1.256 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/1.101, allocations: 38.56 kB / 1.256 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/1.101, allocations: 0 / 1.256 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.002284/1.104, allocations: 0.5805 MB / 1.257 GB, free: 416 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/1.104, allocations: 55.41 kB / 1.257 GB, free: 348 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/1.104, allocations: 255 kB / 1.257 GB, free: 84 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/1.104, allocations: 25.7 kB / 1.257 GB, free: 52 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/1.104, allocations: 172.2 kB / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/1.104, allocations: 47.27 kB / 1.257 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.213e-05/1.104, allocations: 37.7 kB / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.105, allocations: 334.8 kB / 1.258 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/1.105, allocations: 91.92 kB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/1.105, allocations: 140.1 kB / 1.258 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/1.106, allocations: 240.1 kB / 1.258 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.106, allocations: 0 / 1.258 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001142/1.107, allocations: 349.8 kB / 1.259 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.107, allocations: 6.312 kB / 1.259 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.107, allocations: 8 kB / 1.259 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/1.108, allocations: 80.77 kB / 1.259 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/1.108, allocations: 55.95 kB / 1.259 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/1.11, allocations: 1.726 MB / 1.26 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/1.11, allocations: 31.81 kB / 1.26 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/1.11, allocations: 4 kB / 1.26 GB, free: 12.56 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.0001738/1.111, allocations: 149.8 kB / 1.261 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/1.111, allocations: 35.59 kB / 1.261 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/1.112, allocations: 360 kB / 1.261 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.112, allocations: 0 / 1.261 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/1.112, allocations: 0 / 1.261 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.112, allocations: 4 kB / 1.261 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/1.114, allocations: 0.7785 MB / 1.262 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.114, allocations: 0 / 1.262 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/1.114, allocations: 31.97 kB / 1.262 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/1.114, allocations: 80.86 kB / 1.262 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/1.114, allocations: 15.94 kB / 1.262 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/1.116, allocations: 1.735 MB / 1.264 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.116, allocations: 0 / 1.264 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.117, allocations: 460 kB / 1.264 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/1.118, allocations: 124.8 kB / 1.264 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/1.118, allocations: 4 kB / 1.264 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/1.118, allocations: 27.91 kB / 1.264 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/1.118, allocations: 15.97 kB / 1.264 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/1.118, allocations: 8 kB / 1.264 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001814/1.118, allocations: 186 kB / 1.264 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.118, allocations: 0 / 1.264 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004295/1.119, allocations: 79.84 kB / 1.264 GB, free: 8.215 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.0004729/1.119, allocations: 161.8 kB / 1.265 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001148/1.12, allocations: 364.7 kB / 1.265 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.12, allocations: 0 / 1.265 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/1.121, allocations: 254.7 kB / 1.265 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008284/1.122, allocations: 132.3 kB / 1.265 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/1.123, allocations: 0.5053 MB / 1.266 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/1.123, allocations: 0.7714 MB / 1.267 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002207/1.124, allocations: 58.25 kB / 1.267 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/1.124, allocations: 23.44 kB / 1.267 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.124, allocations: 0 / 1.267 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of Templates: time 0.01199/1.136, allocations: 5.966 MB / 1.272 GB, free: 15.99 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