Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_11_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.001219/0.001219, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.519/2.519, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 69.03 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2358, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1532/0.3891, allocations: 161.5 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004341/0.3935, allocations: 3.489 MB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.3937, allocations: 11.94 kB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.3941, allocations: 138.9 kB / 1.225 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009548/0.3951, allocations: 457.9 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3964, allocations: 0.5907 MB / 1.226 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00064/0.397, allocations: 0.6244 MB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.3974, allocations: 228.8 kB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.3985, allocations: 335.2 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.3988, allocations: 195.2 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.3989, allocations: 24 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.3997, allocations: 0.5456 MB / 1.228 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3998, allocations: 95.72 kB / 1.228 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.4, allocations: 151.2 kB / 1.228 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.4007, allocations: 0.5492 MB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4007, allocations: 0 / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.61e-07/0.4007, allocations: 0 / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4007, allocations: 0 / 1.229 GB, free: 4.645 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.000982/0.4017, allocations: 0.6272 MB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.4018, allocations: 12.03 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.297e-05/0.4018, allocations: 58.53 kB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004654/0.4023, allocations: 71.52 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.4027, allocations: 293.3 kB / 1.23 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.4027, allocations: 24.38 kB / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.4027, allocations: 20 kB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.4033, allocations: 308.2 kB / 1.23 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4033, allocations: 4 kB / 1.23 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.4034, allocations: 8 kB / 1.23 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.4034, allocations: 7.938 kB / 1.23 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.404, allocations: 252.9 kB / 1.231 GB, free: 2.863 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.001489/0.4055, allocations: 1.256 MB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.4059, allocations: 166.5 kB / 1.232 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.4062, allocations: 132.8 kB / 1.232 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005364/0.4068, allocations: 299.2 kB / 1.232 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4068, allocations: 38.56 kB / 1.232 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4068, allocations: 0 / 1.232 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.002054/0.4089, allocations: 0.5742 MB / 1.233 GB, free: 196 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4089, allocations: 59.41 kB / 1.233 GB, free: 124 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.4092, allocations: 255 kB / 1.233 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.4092, allocations: 33.7 kB / 1.233 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.4093, allocations: 168.1 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.4094, allocations: 47.3 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.4095, allocations: 37.7 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4096, allocations: 334.8 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.4099, allocations: 91.92 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.4102, allocations: 142 kB / 1.234 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.4108, allocations: 242.1 kB / 1.234 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4108, allocations: 0 / 1.234 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001076/0.4118, allocations: 353.9 kB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4119, allocations: 4 kB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4119, allocations: 4 kB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.4124, allocations: 88.77 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.4126, allocations: 43.95 kB / 1.235 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/0.4264, allocations: 1.72 MB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.4267, allocations: 31.81 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.4267, allocations: 12.06 kB / 1.237 GB, free: 12.34 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.0001514/0.4269, allocations: 150.3 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.427, allocations: 23.72 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.4281, allocations: 366.4 kB / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4281, allocations: 0 / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.4281, allocations: 4 kB / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4281, allocations: 4 kB / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.4296, allocations: 0.7746 MB / 1.238 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4297, allocations: 0 / 1.238 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.4298, allocations: 43.94 kB / 1.238 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/0.4303, allocations: 80.7 kB / 1.238 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.4303, allocations: 8 kB / 1.238 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.4322, allocations: 1.743 MB / 1.24 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4322, allocations: 0 / 1.24 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.4333, allocations: 454.4 kB / 1.24 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.4334, allocations: 132.7 kB / 1.24 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.4334, allocations: 15.88 kB / 1.24 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.4337, allocations: 23.97 kB / 1.24 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.4337, allocations: 15.97 kB / 1.24 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.4338, allocations: 8 kB / 1.24 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001649/0.4339, allocations: 190 kB / 1.24 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4339, allocations: 0 / 1.24 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003505/0.4343, allocations: 79.84 kB / 1.241 GB, free: 7.973 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.001562/0.4359, allocations: 1.04 MB / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009208/0.4368, allocations: 369.7 kB / 1.242 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4368, allocations: 4 kB / 1.242 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.4374, allocations: 258.6 kB / 1.242 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.438, allocations: 125.7 kB / 1.242 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/0.4424, allocations: 2.808 MB / 1.245 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.4428, allocations: 0.7714 MB / 1.246 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.443, allocations: 58.23 kB / 1.246 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4431, allocations: 75.41 kB / 1.246 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.4431, allocations: 0 / 1.246 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.175/1.618, allocations: 8.573 MB / 1.254 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/18.23, allocations: 12.09 kB / 1.254 GB, free: 188.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches