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.005503/0.005503, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001267/0.001267, allocations: 195.1 kB / 16.67 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.419/2.419, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 68.02 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3096, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1833/0.4929, allocations: 161.5 MB / 1.245 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005182/0.4982, allocations: 3.5 MB / 1.249 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004123/0.4986, allocations: 11.94 kB / 1.249 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.4991, allocations: 135 kB / 1.249 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.5006, allocations: 473.9 kB / 1.249 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.5023, allocations: 0.6031 MB / 1.25 GB, free: 11.14 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.5032, allocations: 0.6361 MB / 1.25 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.5037, allocations: 212.8 kB / 1.251 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.5053, allocations: 360.1 kB / 1.251 GB, free: 9.953 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.5057, allocations: 195.2 kB / 1.251 GB, free: 9.762 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.5057, allocations: 20 kB / 1.251 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009518/0.5067, allocations: 0.5534 MB / 1.252 GB, free: 9.188 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.5068, allocations: 95.72 kB / 1.252 GB, free: 9.094 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.507, allocations: 155.2 kB / 1.252 GB, free: 8.941 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009523/0.508, allocations: 0.5528 MB / 1.252 GB, free: 8.387 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.508, allocations: 0 / 1.252 GB, free: 8.387 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.704e-06/0.508, allocations: 0 / 1.252 GB, free: 8.387 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.508, allocations: 0 / 1.252 GB, free: 8.387 MB / 1.014 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.001347/0.5093, allocations: 0.65 MB / 1.253 GB, free: 7.688 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5094, allocations: 8.031 kB / 1.253 GB, free: 7.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/0.5095, allocations: 58.55 kB / 1.253 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/0.5101, allocations: 71.7 kB / 1.253 GB, free: 7.543 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.5106, allocations: 313.5 kB / 1.254 GB, free: 7.199 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.5106, allocations: 12.44 kB / 1.254 GB, free: 7.188 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.5106, allocations: 24 kB / 1.254 GB, free: 7.164 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.5113, allocations: 308.2 kB / 1.254 GB, free: 6.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5114, allocations: 0 / 1.254 GB, free: 6.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.5114, allocations: 15.98 kB / 1.254 GB, free: 6.824 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5114, allocations: 7.938 kB / 1.254 GB, free: 6.816 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.5121, allocations: 248.6 kB / 1.254 GB, free: 6.574 MB / 1.014 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.001829/0.5139, allocations: 1.252 MB / 1.255 GB, free: 5.211 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.5144, allocations: 178.5 kB / 1.256 GB, free: 5.027 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.5147, allocations: 124.8 kB / 1.256 GB, free: 4.902 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.5154, allocations: 303.2 kB / 1.256 GB, free: 4.551 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.5154, allocations: 34.56 kB / 1.256 GB, free: 4.508 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.5154, allocations: 0 / 1.256 GB, free: 4.508 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.002285/0.5177, allocations: 0.5762 MB / 1.257 GB, free: 3.906 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.5178, allocations: 63.41 kB / 1.257 GB, free: 3.832 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.518, allocations: 255 kB / 1.257 GB, free: 3.574 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.5181, allocations: 29.7 kB / 1.257 GB, free: 3.539 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5182, allocations: 168.3 kB / 1.257 GB, free: 3.371 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.5182, allocations: 51.53 kB / 1.257 GB, free: 3.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.5183, allocations: 37.72 kB / 1.257 GB, free: 3.277 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5185, allocations: 330.8 kB / 1.257 GB, free: 2.945 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.5188, allocations: 99.91 kB / 1.258 GB, free: 2.848 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.5191, allocations: 132.1 kB / 1.258 GB, free: 2.703 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.5197, allocations: 236.1 kB / 1.258 GB, free: 2.457 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5198, allocations: 8 kB / 1.258 GB, free: 2.449 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001205/0.521, allocations: 354 kB / 1.258 GB, free: 2.094 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.521, allocations: 6.031 kB / 1.258 GB, free: 2.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.521, allocations: 4 kB / 1.258 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/0.5216, allocations: 88.88 kB / 1.258 GB, free: 1.996 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.5219, allocations: 43.91 kB / 1.258 GB, free: 1.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.5243, allocations: 1.72 MB / 1.26 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.5245, allocations: 35.92 kB / 1.26 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.5245, allocations: 4 kB / 1.26 GB, free: 48 kB / 1.014 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.5341/1.059, allocations: 146.9 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/1.059, allocations: 25.58 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/1.06, allocations: 367.8 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.06, allocations: 2.188 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/1.06, allocations: 0 / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.06, allocations: 5.453 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/1.062, allocations: 0.7779 MB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.062, allocations: 1.594 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/1.062, allocations: 38.12 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/1.063, allocations: 80.41 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/1.063, allocations: 6.266 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/1.064, allocations: 1.736 MB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.064, allocations: 4.906 kB / 1.263 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/1.066, allocations: 462.8 kB / 1.264 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/1.066, allocations: 124.1 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/1.066, allocations: 5.094 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/1.066, allocations: 30.06 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/1.066, allocations: 16.66 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/1.066, allocations: 6.188 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001942/1.066, allocations: 186.3 kB / 1.264 GB, free: 173.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.066, allocations: 0 / 1.264 GB, free: 173.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004518/1.067, allocations: 86.97 kB / 1.264 GB, free: 173.9 MB / 1.014 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.001615/1.069, allocations: 1.04 MB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.07, allocations: 357.2 kB / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.07, allocations: 0.9062 kB / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005839/1.07, allocations: 266.9 kB / 1.266 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/1.071, allocations: 124.5 kB / 1.266 GB, free: 172.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/1.076, allocations: 2.811 MB / 1.269 GB, free: 171.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/1.076, allocations: 0.7729 MB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002163/1.076, allocations: 61.3 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/1.076, allocations: 79.47 kB / 1.269 GB, free: 170.5 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.076, allocations: 0 / 1.269 GB, free: 170.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/1.108, allocations: 8.682 MB / 1.278 GB, free: 169.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.56, allocations: 9.078 kB / 1.278 GB, free: 169.7 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