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.004999/0.004999, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.001211/0.001211, allocations: 198.1 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.438/2.438, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.84 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.832/0.8334, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1646/0.9981, allocations: 161.5 MB / 1.324 GB, free: 1.664 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004466/1.003, allocations: 3.486 MB / 1.327 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/1.003, allocations: 11.94 kB / 1.327 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004099/1.003, allocations: 127 kB / 1.327 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/1.005, allocations: 449.8 kB / 1.328 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/1.006, allocations: 0.603 MB / 1.328 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000683/1.007, allocations: 0.6283 MB / 1.329 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/1.007, allocations: 227.5 kB / 1.329 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/1.008, allocations: 336.2 kB / 1.33 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/1.008, allocations: 199.1 kB / 1.33 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/1.008, allocations: 24 kB / 1.33 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/1.009, allocations: 0.5495 MB / 1.33 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/1.009, allocations: 99.72 kB / 1.33 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/1.01, allocations: 143.3 kB / 1.331 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007992/1.01, allocations: 0.5531 MB / 1.331 GB, free: 10.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/1.01, allocations: 4 kB / 1.331 GB, free: 10.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/1.01, allocations: 0 / 1.331 GB, free: 10.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.01, allocations: 0 / 1.331 GB, free: 10.25 MB / 1.061 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.001003/1.011, allocations: 0.6311 MB / 1.332 GB, free: 9.566 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/1.011, allocations: 12.92 kB / 1.332 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/1.012, allocations: 54.55 kB / 1.332 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004926/1.012, allocations: 71.52 kB / 1.332 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/1.012, allocations: 317.2 kB / 1.332 GB, free: 9.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.012, allocations: 12.44 kB / 1.332 GB, free: 9.059 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/1.013, allocations: 24 kB / 1.332 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/1.013, allocations: 300.2 kB / 1.332 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.013, allocations: 4 kB / 1.332 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/1.013, allocations: 16 kB / 1.333 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/1.013, allocations: 11.88 kB / 1.333 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/1.014, allocations: 244.9 kB / 1.333 GB, free: 8.457 MB / 1.061 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.001634/1.016, allocations: 1.248 MB / 1.334 GB, free: 7.098 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/1.016, allocations: 174.5 kB / 1.334 GB, free: 6.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/1.017, allocations: 128.8 kB / 1.334 GB, free: 6.789 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/1.017, allocations: 303.2 kB / 1.335 GB, free: 6.438 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/1.017, allocations: 30.56 kB / 1.335 GB, free: 6.398 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/1.017, allocations: 4 kB / 1.335 GB, free: 6.395 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.00225/1.019, allocations: 0.5701 MB / 1.335 GB, free: 5.797 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.019, allocations: 59.34 kB / 1.335 GB, free: 5.727 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/1.02, allocations: 255 kB / 1.335 GB, free: 5.473 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/1.02, allocations: 29.7 kB / 1.335 GB, free: 5.438 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/1.02, allocations: 176.1 kB / 1.336 GB, free: 5.262 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/1.02, allocations: 43.34 kB / 1.336 GB, free: 5.219 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/1.02, allocations: 37.72 kB / 1.336 GB, free: 5.176 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.02, allocations: 330.8 kB / 1.336 GB, free: 4.844 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/1.02, allocations: 99.84 kB / 1.336 GB, free: 4.746 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/1.021, allocations: 146.1 kB / 1.336 GB, free: 4.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/1.021, allocations: 237.6 kB / 1.336 GB, free: 4.344 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.021, allocations: 4 kB / 1.336 GB, free: 4.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001197/1.023, allocations: 347 kB / 1.337 GB, free: 3.992 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.023, allocations: 4 kB / 1.337 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.023, allocations: 8.125 kB / 1.337 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/1.023, allocations: 84.75 kB / 1.337 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.024, allocations: 43.97 kB / 1.337 GB, free: 3.852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/1.026, allocations: 1.731 MB / 1.339 GB, free: 1.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/1.026, allocations: 31.81 kB / 1.339 GB, free: 1.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/1.026, allocations: 4 kB / 1.339 GB, free: 1.941 MB / 1.061 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.0001569/1.026, allocations: 145.8 kB / 1.339 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/1.026, allocations: 27.62 kB / 1.339 GB, free: 1.762 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/1.027, allocations: 374.3 kB / 1.339 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.027, allocations: 0 / 1.339 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/1.027, allocations: 0 / 1.339 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.027, allocations: 4 kB / 1.339 GB, free: 1.387 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/1.029, allocations: 0.7785 MB / 1.34 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.029, allocations: 3.938 kB / 1.34 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/1.029, allocations: 31.97 kB / 1.34 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/1.03, allocations: 88.8 kB / 1.34 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/1.03, allocations: 4 kB / 1.34 GB, free: 420 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.032, allocations: 1.736 MB / 1.342 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.032, allocations: 3.938 kB / 1.342 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/1.033, allocations: 450.4 kB / 1.342 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/1.033, allocations: 124.8 kB / 1.342 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/1.034, allocations: 7.938 kB / 1.342 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/1.034, allocations: 24.03 kB / 1.342 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/1.034, allocations: 19.97 kB / 1.342 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/1.034, allocations: 12 kB / 1.342 GB, free: 13.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001731/1.034, allocations: 186 kB / 1.343 GB, free: 13.68 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.034, allocations: 0 / 1.343 GB, free: 13.68 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004359/1.035, allocations: 83.84 kB / 1.343 GB, free: 13.59 MB / 1.076 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.0018/1.036, allocations: 1.054 MB / 1.344 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001056/1.037, allocations: 362.6 kB / 1.344 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.037, allocations: 0 / 1.344 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006124/1.038, allocations: 258.4 kB / 1.344 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/1.039, allocations: 128.3 kB / 1.344 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/1.044, allocations: 2.811 MB / 1.347 GB, free: 8.812 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/1.044, allocations: 0.7714 MB / 1.348 GB, free: 8.016 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002021/1.044, allocations: 50.27 kB / 1.348 GB, free: 7.969 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/1.044, allocations: 83.41 kB / 1.348 GB, free: 7.891 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/1.044, allocations: 0 / 1.348 GB, free: 7.891 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/1.106, allocations: 8.692 MB / 1.357 GB, free: 15.38 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.34, allocations: 12.58 kB / 1.357 GB, free: 15.37 MB / 1.092 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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