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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004842/0.004842, allocations: 101 kB / 15.73 MB, free: 5.586 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.001109/0.001109, allocations: 187.8 kB / 16.67 MB, free: 5.523 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.325/1.325, allocations: 222.9 MB / 240.4 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.213/2.213, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7796, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1874/0.9671, allocations: 161.5 MB / 1.245 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004826/0.9719, allocations: 3.509 MB / 1.249 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.9723, allocations: 11.09 kB / 1.249 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.9727, allocations: 133.5 kB / 1.249 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.974, allocations: 453.5 kB / 1.249 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.9755, allocations: 0.5896 MB / 1.25 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006739/0.9762, allocations: 0.6283 MB / 1.25 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.9766, allocations: 236.7 kB / 1.251 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.9778, allocations: 332.6 kB / 1.251 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.9781, allocations: 195.2 kB / 1.251 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.9781, allocations: 20 kB / 1.251 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009823/0.9791, allocations: 0.5534 MB / 1.252 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.9792, allocations: 99.72 kB / 1.252 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.9794, allocations: 147.2 kB / 1.252 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000905/0.9803, allocations: 0.5492 MB / 1.252 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9803, allocations: 0 / 1.252 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9803, allocations: 4 kB / 1.252 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.9804, allocations: 0 / 1.252 GB, free: 4.863 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.00119/0.9816, allocations: 0.6272 MB / 1.253 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.9816, allocations: 12.03 kB / 1.253 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.698e-05/0.9817, allocations: 58.48 kB / 1.253 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005428/0.9822, allocations: 79.5 kB / 1.253 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.9827, allocations: 313.2 kB / 1.253 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.9828, allocations: 16.44 kB / 1.254 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.9828, allocations: 16 kB / 1.254 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.9834, allocations: 316.2 kB / 1.254 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9835, allocations: 3.938 kB / 1.254 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.9835, allocations: 4 kB / 1.254 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.9835, allocations: 19.92 kB / 1.254 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006724/0.9842, allocations: 252.9 kB / 1.254 GB, free: 3.051 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.00164/0.9858, allocations: 1.233 MB / 1.255 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.9863, allocations: 178.5 kB / 1.255 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.9866, allocations: 116.8 kB / 1.256 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/0.9872, allocations: 311.2 kB / 1.256 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.9873, allocations: 34.56 kB / 1.256 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.9873, allocations: 0 / 1.256 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.002308/0.9896, allocations: 0.5731 MB / 1.256 GB, free: 412 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.9896, allocations: 55.39 kB / 1.257 GB, free: 344 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.9899, allocations: 263 kB / 1.257 GB, free: 72 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.9899, allocations: 25.7 kB / 1.257 GB, free: 40 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.9901, allocations: 168.1 kB / 1.257 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.9901, allocations: 43.36 kB / 1.257 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.9902, allocations: 37.7 kB / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.9903, allocations: 330.8 kB / 1.257 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.9906, allocations: 95.91 kB / 1.257 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.991, allocations: 140.1 kB / 1.258 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.9916, allocations: 240 kB / 1.258 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9916, allocations: 0 / 1.258 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001212/0.9928, allocations: 357.8 kB / 1.258 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9929, allocations: 8 kB / 1.258 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9929, allocations: 0 / 1.258 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.9935, allocations: 88.89 kB / 1.258 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.9937, allocations: 39.91 kB / 1.258 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.9961, allocations: 1.743 MB / 1.26 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.9964, allocations: 27.83 kB / 1.26 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.9964, allocations: 8 kB / 1.26 GB, free: 12.55 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.000187/0.9966, allocations: 146.4 kB / 1.26 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.9967, allocations: 27.66 kB / 1.26 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.9979, allocations: 364 kB / 1.261 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.9979, allocations: 4 kB / 1.261 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.9979, allocations: 0 / 1.261 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.998, allocations: 3.984 kB / 1.261 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.9998, allocations: 0.7784 MB / 1.261 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.9998, allocations: 0 / 1.261 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/1, allocations: 39.95 kB / 1.261 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/1, allocations: 84.75 kB / 1.261 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/1.001, allocations: 0 / 1.261 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/1.003, allocations: 1.743 MB / 1.263 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.003, allocations: 4.031 kB / 1.263 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/1.004, allocations: 462.3 kB / 1.264 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/1.004, allocations: 116.8 kB / 1.264 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/1.004, allocations: 7.938 kB / 1.264 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/1.004, allocations: 28.03 kB / 1.264 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/1.004, allocations: 15.98 kB / 1.264 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/1.004, allocations: 4 kB / 1.264 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000173/1.005, allocations: 186 kB / 1.264 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.005, allocations: 4 kB / 1.264 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004318/1.005, allocations: 87.83 kB / 1.264 GB, free: 8.191 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.001747/1.007, allocations: 1.034 MB / 1.265 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001044/1.008, allocations: 358.6 kB / 1.265 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.008, allocations: 0 / 1.265 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006714/1.009, allocations: 262.6 kB / 1.266 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/1.009, allocations: 128.9 kB / 1.266 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/1.014, allocations: 2.808 MB / 1.268 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/1.015, allocations: 0.7753 MB / 1.269 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002027/1.015, allocations: 50.27 kB / 1.269 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/1.015, allocations: 75.41 kB / 1.269 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.015, allocations: 0 / 1.269 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/1.046, allocations: 8.696 MB / 1.278 GB, free: 10.03 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.68, allocations: 4.062 kB / 1.278 GB, free: 10.02 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv","/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