Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_10_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.005464/0.005464, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001253/0.001253, allocations: 201.8 kB / 16.68 MB, free: 5.965 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.22/2.22, allocations: 437.1 MB / 0.7106 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 79.81 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2471, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6865/0.9336, allocations: 161.5 MB / 1.324 GB, free: 7.441 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004175/0.9378, allocations: 3.484 MB / 1.327 GB, free: 5.211 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.938, allocations: 10.53 kB / 1.327 GB, free: 5.207 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.9384, allocations: 137.7 kB / 1.327 GB, free: 5.109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009527/0.9393, allocations: 453.6 kB / 1.328 GB, free: 4.871 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.9406, allocations: 0.597 MB / 1.328 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.9412, allocations: 0.6201 MB / 1.329 GB, free: 4.301 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.9415, allocations: 219.2 kB / 1.329 GB, free: 4.219 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.9426, allocations: 351.3 kB / 1.33 GB, free: 4.078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.9429, allocations: 197.2 kB / 1.33 GB, free: 3.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.9429, allocations: 22.31 kB / 1.33 GB, free: 3.992 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008298/0.9438, allocations: 0.5501 MB / 1.33 GB, free: 3.781 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.9439, allocations: 98.08 kB / 1.33 GB, free: 3.738 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.944, allocations: 141.7 kB / 1.331 GB, free: 3.656 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007465/0.9448, allocations: 0.5553 MB / 1.331 GB, free: 3.465 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.9448, allocations: 0 / 1.331 GB, free: 3.465 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9448, allocations: 5.438 kB / 1.331 GB, free: 3.461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.9448, allocations: 4 kB / 1.331 GB, free: 3.457 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.0009511/0.9458, allocations: 0.6401 MB / 1.332 GB, free: 2.934 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.9458, allocations: 11.45 kB / 1.332 GB, free: 2.934 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.873e-05/0.9459, allocations: 54.16 kB / 1.332 GB, free: 2.883 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/0.9463, allocations: 81.45 kB / 1.332 GB, free: 2.855 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.9467, allocations: 317 kB / 1.332 GB, free: 2.586 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.9467, allocations: 12.44 kB / 1.332 GB, free: 2.578 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.9467, allocations: 25.19 kB / 1.332 GB, free: 2.566 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.9473, allocations: 308.6 kB / 1.333 GB, free: 2.426 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9473, allocations: 3.938 kB / 1.333 GB, free: 2.422 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.9473, allocations: 6.906 kB / 1.333 GB, free: 2.418 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.9474, allocations: 15 kB / 1.333 GB, free: 2.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.948, allocations: 244.2 kB / 1.333 GB, free: 2.352 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.001414/0.9494, allocations: 1.246 MB / 1.334 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.9498, allocations: 176.6 kB / 1.334 GB, free: 1.266 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.9501, allocations: 119.9 kB / 1.334 GB, free: 1.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000531/0.9506, allocations: 305.2 kB / 1.335 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.9507, allocations: 32.53 kB / 1.335 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.9507, allocations: 1.344 kB / 1.335 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.002046/0.9527, allocations: 0.5808 MB / 1.335 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.9528, allocations: 55.17 kB / 1.335 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.953, allocations: 254 kB / 1.336 GB, free: 460 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.9531, allocations: 31.48 kB / 1.336 GB, free: 424 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.9532, allocations: 168.9 kB / 1.336 GB, free: 276 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.9532, allocations: 44.75 kB / 1.336 GB, free: 240 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.9533, allocations: 46.72 kB / 1.336 GB, free: 204 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9534, allocations: 331.4 kB / 1.336 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.9537, allocations: 97.58 kB / 1.336 GB, free: 15.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.954, allocations: 144.7 kB / 1.336 GB, free: 15.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.9546, allocations: 237.8 kB / 1.337 GB, free: 15.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9546, allocations: 1.156 kB / 1.337 GB, free: 15.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001051/0.9556, allocations: 350 kB / 1.337 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.9557, allocations: 6.406 kB / 1.337 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.9557, allocations: 5.266 kB / 1.337 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005286/0.9562, allocations: 87.73 kB / 1.337 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.9564, allocations: 45 kB / 1.337 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.9585, allocations: 1.731 MB / 1.339 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.9587, allocations: 38.33 kB / 1.339 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.9587, allocations: 5.906 kB / 1.339 GB, free: 13.95 MB / 1.029 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.0001376/0.9589, allocations: 147.6 kB / 1.339 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.9589, allocations: 23.8 kB / 1.339 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.96, allocations: 373.1 kB / 1.339 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.96, allocations: 1.844 kB / 1.339 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.96, allocations: 1.641 kB / 1.339 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.96, allocations: 11.86 kB / 1.339 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.9615, allocations: 0.7728 MB / 1.34 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.9615, allocations: 1.219 kB / 1.34 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.9617, allocations: 34.03 kB / 1.34 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003976/0.9621, allocations: 83 kB / 1.34 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.9621, allocations: 5.25 kB / 1.34 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.964, allocations: 1.735 MB / 1.342 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.964, allocations: 4.656 kB / 1.342 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.965, allocations: 450 kB / 1.342 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.9652, allocations: 127 kB / 1.342 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.9652, allocations: 9.406 kB / 1.342 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.9655, allocations: 29.44 kB / 1.342 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.9655, allocations: 22.55 kB / 1.342 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.9656, allocations: 8.375 kB / 1.342 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001529/0.9657, allocations: 186.6 kB / 1.343 GB, free: 11.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.9657, allocations: 0 / 1.343 GB, free: 11.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003474/0.9661, allocations: 81.86 kB / 1.343 GB, free: 11.08 MB / 1.029 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.001583/0.9677, allocations: 1.052 MB / 1.344 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008833/0.9686, allocations: 367.2 kB / 1.344 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9686, allocations: 0 / 1.344 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.9691, allocations: 254.1 kB / 1.344 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.9698, allocations: 131.3 kB / 1.344 GB, free: 9.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.974, allocations: 2.809 MB / 1.347 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.9743, allocations: 0.7791 MB / 1.348 GB, free: 7.387 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.9745, allocations: 53.64 kB / 1.348 GB, free: 7.379 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.9746, allocations: 79.94 kB / 1.348 GB, free: 7.32 MB / 1.029 GB Notification: Performance of SimCode: time 2.21e-07/0.9746, allocations: 0 / 1.348 GB, free: 7.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.974/2.948, allocations: 8.693 MB / 1.357 GB, free: 4.723 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/18.49, allocations: 6.234 kB / 1.357 GB, free: 4.719 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches