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.00734/0.00734, allocations: 98.98 kB / 15.73 MB, free: 6.449 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.001788/0.001788, allocations: 197.4 kB / 16.68 MB, free: 6.348 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.954/2.954, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.88 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3207, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.8131/1.134, allocations: 161.5 MB / 1.378 GB, free: 6.949 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00542/1.139, allocations: 3.505 MB / 1.381 GB, free: 4.473 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/1.14, allocations: 11.41 kB / 1.381 GB, free: 4.469 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004663/1.14, allocations: 133.4 kB / 1.381 GB, free: 4.375 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/1.142, allocations: 449.5 kB / 1.382 GB, free: 4.141 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/1.144, allocations: 0.6025 MB / 1.382 GB, free: 3.746 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001044/1.145, allocations: 0.6228 MB / 1.383 GB, free: 3.383 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/1.145, allocations: 223.2 kB / 1.383 GB, free: 3.254 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/1.147, allocations: 344.4 kB / 1.384 GB, free: 3.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/1.147, allocations: 194.7 kB / 1.384 GB, free: 2.953 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/1.147, allocations: 22.16 kB / 1.384 GB, free: 2.953 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/1.149, allocations: 0.5485 MB / 1.384 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/1.149, allocations: 96.52 kB / 1.384 GB, free: 2.586 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/1.149, allocations: 144 kB / 1.385 GB, free: 2.492 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/1.15, allocations: 0.5657 MB / 1.385 GB, free: 2.141 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.15, allocations: 0 / 1.385 GB, free: 2.141 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.954e-06/1.15, allocations: 0 / 1.385 GB, free: 2.141 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.15, allocations: 1.531 kB / 1.385 GB, free: 2.141 MB / 1.076 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.001205/1.151, allocations: 0.6409 MB / 1.386 GB, free: 1.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.151, allocations: 9.469 kB / 1.386 GB, free: 1.57 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.633e-05/1.151, allocations: 53.89 kB / 1.386 GB, free: 1.516 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005343/1.152, allocations: 84.2 kB / 1.386 GB, free: 1.473 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/1.152, allocations: 313.9 kB / 1.386 GB, free: 1.172 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/1.152, allocations: 13.16 kB / 1.386 GB, free: 1.168 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/1.152, allocations: 20.5 kB / 1.386 GB, free: 1.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/1.153, allocations: 315.9 kB / 1.387 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.153, allocations: 5.375 kB / 1.387 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/1.153, allocations: 6.656 kB / 1.387 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/1.153, allocations: 11.86 kB / 1.387 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/1.154, allocations: 250.7 kB / 1.387 GB, free: 0.8242 MB / 1.076 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.001892/1.156, allocations: 1.239 MB / 1.388 GB, free: 15.67 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/1.156, allocations: 171.1 kB / 1.388 GB, free: 15.58 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/1.157, allocations: 123.4 kB / 1.388 GB, free: 15.52 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/1.157, allocations: 303.4 kB / 1.389 GB, free: 15.21 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/1.158, allocations: 35.62 kB / 1.389 GB, free: 15.16 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/1.158, allocations: 1 kB / 1.389 GB, free: 15.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.002402/1.16, allocations: 0.5808 MB / 1.389 GB, free: 14.8 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/1.16, allocations: 52.5 kB / 1.389 GB, free: 14.74 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/1.16, allocations: 253 kB / 1.389 GB, free: 14.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/1.16, allocations: 34.55 kB / 1.39 GB, free: 14.54 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/1.16, allocations: 174.8 kB / 1.39 GB, free: 14.38 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/1.161, allocations: 44.98 kB / 1.39 GB, free: 14.34 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/1.161, allocations: 43.25 kB / 1.39 GB, free: 14.3 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.161, allocations: 332.7 kB / 1.39 GB, free: 13.97 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/1.161, allocations: 93.61 kB / 1.39 GB, free: 13.93 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/1.161, allocations: 142.8 kB / 1.39 GB, free: 13.83 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/1.162, allocations: 237.2 kB / 1.391 GB, free: 13.7 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.162, allocations: 0 / 1.391 GB, free: 13.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001249/1.163, allocations: 355 kB / 1.391 GB, free: 13.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.163, allocations: 5.625 kB / 1.391 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.163, allocations: 3.328 kB / 1.391 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/1.164, allocations: 87.17 kB / 1.391 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/1.164, allocations: 45.23 kB / 1.391 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/1.167, allocations: 1.727 MB / 1.393 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/1.167, allocations: 32.97 kB / 1.393 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/1.167, allocations: 9.422 kB / 1.393 GB, free: 11.77 MB / 1.092 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.0002191/1.167, allocations: 151 kB / 1.393 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/1.167, allocations: 27.41 kB / 1.393 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/1.169, allocations: 357.7 kB / 1.393 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.169, allocations: 6.078 kB / 1.393 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/1.169, allocations: 3.938 kB / 1.393 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.169, allocations: 1.094 kB / 1.393 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/1.171, allocations: 0.7726 MB / 1.394 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.171, allocations: 4.812 kB / 1.394 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/1.171, allocations: 33.88 kB / 1.394 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/1.172, allocations: 81.22 kB / 1.394 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/1.172, allocations: 9.312 kB / 1.394 GB, free: 10.72 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/1.174, allocations: 1.755 MB / 1.396 GB, free: 9.055 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.174, allocations: 1.438 kB / 1.396 GB, free: 9.055 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.175, allocations: 458 kB / 1.396 GB, free: 8.734 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/1.175, allocations: 123.9 kB / 1.396 GB, free: 8.609 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/1.175, allocations: 6.344 kB / 1.396 GB, free: 8.605 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/1.176, allocations: 24.12 kB / 1.396 GB, free: 8.594 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/1.176, allocations: 15.98 kB / 1.396 GB, free: 8.586 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/1.176, allocations: 12.61 kB / 1.396 GB, free: 8.578 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002395/1.176, allocations: 185.6 kB / 1.397 GB, free: 8.449 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.176, allocations: 4 kB / 1.397 GB, free: 8.445 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005066/1.177, allocations: 81.86 kB / 1.397 GB, free: 8.43 MB / 1.092 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.001975/1.179, allocations: 1.056 MB / 1.398 GB, free: 7.543 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001101/1.18, allocations: 361 kB / 1.398 GB, free: 7.316 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.18, allocations: 0 / 1.398 GB, free: 7.316 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/1.18, allocations: 254.6 kB / 1.398 GB, free: 7.137 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/1.181, allocations: 131.5 kB / 1.398 GB, free: 7.066 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/1.186, allocations: 2.811 MB / 1.401 GB, free: 4.957 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/1.187, allocations: 0.7757 MB / 1.402 GB, free: 4.215 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002697/1.187, allocations: 56.03 kB / 1.402 GB, free: 4.191 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/1.187, allocations: 72.23 kB / 1.402 GB, free: 4.133 MB / 1.092 GB Notification: Performance of SimCode: time 6.51e-07/1.187, allocations: 0 / 1.402 GB, free: 4.133 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/1.226, allocations: 8.69 MB / 1.411 GB, free: 15.77 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.4, allocations: 15.55 kB / 1.411 GB, free: 15.76 MB / 1.107 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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