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.001998/0.001998, allocations: 107.9 kB / 15.99 MB, free: 6.344 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.002109/0.002109, allocations: 189.8 kB / 16.91 MB, free: 6.18 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 469.4 MB / 0.7423 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 63.97 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3182, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.7239/1.042, allocations: 159.3 MB / 1.219 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004707/1.047, allocations: 3.464 MB / 1.223 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004161/1.047, allocations: 10.69 kB / 1.223 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000485/1.048, allocations: 113.3 kB / 1.223 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/1.049, allocations: 422.1 kB / 1.223 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/1.051, allocations: 0.5485 MB / 1.224 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007301/1.051, allocations: 0.6317 MB / 1.224 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/1.052, allocations: 218.7 kB / 1.225 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/1.053, allocations: 351.7 kB / 1.225 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/1.054, allocations: 198.4 kB / 1.225 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/1.054, allocations: 24.09 kB / 1.225 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009638/1.055, allocations: 0.569 MB / 1.226 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/1.055, allocations: 99.98 kB / 1.226 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/1.055, allocations: 141.3 kB / 1.226 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/1.055, allocations: 404.4 kB / 1.226 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.055, allocations: 0 / 1.226 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.322e-06/1.055, allocations: 0 / 1.226 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.055, allocations: 0 / 1.226 GB, free: 1.957 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.0009958/1.056, allocations: 0.6312 MB / 1.227 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.056, allocations: 18.48 kB / 1.227 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004917/1.057, allocations: 70.98 kB / 1.227 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/1.057, allocations: 295.9 kB / 1.227 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/1.057, allocations: 19.17 kB / 1.227 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/1.057, allocations: 21.59 kB / 1.227 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/1.058, allocations: 312.9 kB / 1.228 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.058, allocations: 0 / 1.228 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/1.058, allocations: 12.84 kB / 1.228 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/1.058, allocations: 5.344 kB / 1.228 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/1.059, allocations: 251.6 kB / 1.228 GB, free: 0.7188 MB / 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.001493/1.06, allocations: 1.244 MB / 1.229 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/1.061, allocations: 170.5 kB / 1.229 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/1.061, allocations: 133.6 kB / 1.229 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/1.062, allocations: 298 kB / 1.23 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/1.062, allocations: 37.53 kB / 1.23 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/1.062, allocations: 4 kB / 1.23 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.002184/1.064, allocations: 0.5753 MB / 1.23 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.064, allocations: 53.19 kB / 1.23 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/1.064, allocations: 261.5 kB / 1.231 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/1.064, allocations: 29.7 kB / 1.231 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/1.064, allocations: 161.7 kB / 1.231 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/1.064, allocations: 53.77 kB / 1.231 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/1.064, allocations: 34.8 kB / 1.231 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.064, allocations: 333.2 kB / 1.231 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/1.065, allocations: 96.88 kB / 1.231 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/1.065, allocations: 136.2 kB / 1.231 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/1.066, allocations: 240.1 kB / 1.232 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.066, allocations: 0 / 1.232 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001092/1.067, allocations: 357.8 kB / 1.232 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.067, allocations: 5.25 kB / 1.232 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.067, allocations: 128 / 1.232 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/1.067, allocations: 88.77 kB / 1.232 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/1.068, allocations: 51.83 kB / 1.232 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/1.07, allocations: 1.724 MB / 1.234 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/1.07, allocations: 35.81 kB / 1.234 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/1.07, allocations: 11.98 kB / 1.234 GB, free: 10.98 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.0001636/1.07, allocations: 149.8 kB / 1.234 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/1.07, allocations: 23.72 kB / 1.234 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/1.071, allocations: 366.3 kB / 1.234 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.071, allocations: 5.312 kB / 1.234 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/1.071, allocations: 0 / 1.234 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.071, allocations: 0 / 1.234 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/1.073, allocations: 0.7708 MB / 1.235 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.073, allocations: 4 kB / 1.235 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/1.073, allocations: 31.97 kB / 1.235 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/1.074, allocations: 88.73 kB / 1.235 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/1.074, allocations: 7.938 kB / 1.235 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.076, allocations: 1.745 MB / 1.237 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.076, allocations: 5.531 kB / 1.237 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/1.077, allocations: 446.4 kB / 1.237 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.077, allocations: 124.7 kB / 1.237 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/1.077, allocations: 8 kB / 1.237 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/1.077, allocations: 27.91 kB / 1.237 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/1.077, allocations: 19.97 kB / 1.237 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/1.077, allocations: 4.141 kB / 1.237 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001866/1.077, allocations: 190 kB / 1.238 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.603e-06/1.077, allocations: 0 / 1.238 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004446/1.078, allocations: 83.78 kB / 1.238 GB, free: 6.629 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.0004208/1.078, allocations: 172.2 kB / 1.238 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009649/1.079, allocations: 367.1 kB / 1.238 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.079, allocations: 0 / 1.238 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/1.08, allocations: 254.6 kB / 1.239 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/1.081, allocations: 126 kB / 1.239 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/1.082, allocations: 0.6213 MB / 1.239 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/1.082, allocations: 0.7714 MB / 1.24 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/1.082, allocations: 23.44 kB / 1.24 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of SimCode: time 4.3e-07/1.082, allocations: 0 / 1.24 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.008652/1.091, allocations: 5.388 MB / 1.245 GB, free: 14.87 MB / 0.9669 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches