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.007535/0.007535, allocations: 96.53 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.00179/0.00179, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.488/1.488, 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.622/2.622, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3015, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.848/1.15, allocations: 161.5 MB / 1.324 GB, free: 7.469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004979/1.155, allocations: 3.477 MB / 1.327 GB, free: 5.242 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/1.155, allocations: 9.219 kB / 1.327 GB, free: 5.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004675/1.155, allocations: 139.3 kB / 1.327 GB, free: 5.141 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/1.157, allocations: 470.6 kB / 1.328 GB, free: 4.895 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/1.158, allocations: 0.6074 MB / 1.328 GB, free: 4.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000814/1.159, allocations: 0.6226 MB / 1.329 GB, free: 4.312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/1.16, allocations: 226.6 kB / 1.329 GB, free: 4.223 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/1.161, allocations: 344.6 kB / 1.33 GB, free: 4.094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/1.161, allocations: 204.8 kB / 1.33 GB, free: 4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/1.161, allocations: 21.78 kB / 1.33 GB, free: 4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/1.163, allocations: 0.5555 MB / 1.33 GB, free: 3.785 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/1.163, allocations: 97.94 kB / 1.33 GB, free: 3.742 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/1.163, allocations: 141.7 kB / 1.331 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/1.164, allocations: 0.5563 MB / 1.331 GB, free: 3.469 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.164, allocations: 0 / 1.331 GB, free: 3.469 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/1.164, allocations: 0 / 1.331 GB, free: 3.469 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.164, allocations: 0 / 1.331 GB, free: 3.469 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.001151/1.165, allocations: 0.6447 MB / 1.332 GB, free: 2.941 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.165, allocations: 11.3 kB / 1.332 GB, free: 2.941 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.46e-05/1.165, allocations: 54.64 kB / 1.332 GB, free: 2.891 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005569/1.166, allocations: 79.89 kB / 1.332 GB, free: 2.863 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/1.166, allocations: 318.2 kB / 1.332 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/1.166, allocations: 11.75 kB / 1.332 GB, free: 2.586 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/1.166, allocations: 22.28 kB / 1.332 GB, free: 2.578 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/1.167, allocations: 311.7 kB / 1.333 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/1.167, allocations: 1.125 kB / 1.333 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/1.167, allocations: 14.53 kB / 1.333 GB, free: 2.422 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/1.167, allocations: 9.75 kB / 1.333 GB, free: 2.418 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/1.168, allocations: 249.4 kB / 1.333 GB, free: 2.355 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.001973/1.17, allocations: 1.238 MB / 1.334 GB, free: 1.344 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/1.17, allocations: 173 kB / 1.334 GB, free: 1.277 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/1.171, allocations: 132.1 kB / 1.334 GB, free: 1.234 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006228/1.171, allocations: 302 kB / 1.335 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.172, allocations: 36.06 kB / 1.335 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/1.172, allocations: 0 / 1.335 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.00222/1.174, allocations: 0.5758 MB / 1.335 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/1.174, allocations: 52.81 kB / 1.335 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/1.174, allocations: 259.8 kB / 1.336 GB, free: 460 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/1.174, allocations: 34.86 kB / 1.336 GB, free: 420 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/1.174, allocations: 167.6 kB / 1.336 GB, free: 272 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/1.174, allocations: 50.3 kB / 1.336 GB, free: 232 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/1.174, allocations: 43 kB / 1.336 GB, free: 200 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000261/1.175, allocations: 331.6 kB / 1.336 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/1.175, allocations: 92.81 kB / 1.336 GB, free: 15.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/1.175, allocations: 152.8 kB / 1.336 GB, free: 15.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/1.176, allocations: 238 kB / 1.337 GB, free: 15.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.176, allocations: 0 / 1.337 GB, free: 15.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00112/1.177, allocations: 355.9 kB / 1.337 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.177, allocations: 5.469 kB / 1.337 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.177, allocations: 3.641 kB / 1.337 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/1.178, allocations: 87.61 kB / 1.337 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/1.178, allocations: 38.67 kB / 1.337 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/1.18, allocations: 1.725 MB / 1.339 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/1.181, allocations: 37.14 kB / 1.339 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/1.181, allocations: 5.594 kB / 1.339 GB, free: 13.96 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.0001874/1.181, allocations: 148.6 kB / 1.339 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/1.181, allocations: 23.67 kB / 1.339 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/1.182, allocations: 369.5 kB / 1.339 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.182, allocations: 1.812 kB / 1.339 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.182, allocations: 1.125 kB / 1.339 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.182, allocations: 6.047 kB / 1.339 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/1.184, allocations: 0.7761 MB / 1.34 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.184, allocations: 0 / 1.34 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/1.184, allocations: 34.48 kB / 1.34 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/1.184, allocations: 81.77 kB / 1.34 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/1.184, allocations: 9.094 kB / 1.34 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/1.187, allocations: 1.749 MB / 1.342 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.187, allocations: 1.188 kB / 1.342 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/1.188, allocations: 451.3 kB / 1.342 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/1.188, allocations: 128.8 kB / 1.342 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/1.188, allocations: 10.12 kB / 1.342 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/1.188, allocations: 26.22 kB / 1.342 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/1.188, allocations: 18.58 kB / 1.342 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/1.188, allocations: 8.938 kB / 1.342 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002007/1.189, allocations: 186.1 kB / 1.343 GB, free: 11.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.189, allocations: 4.938 kB / 1.343 GB, free: 11.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004818/1.189, allocations: 83.7 kB / 1.343 GB, free: 11.09 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.001707/1.191, allocations: 1.044 MB / 1.344 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001101/1.192, allocations: 373.2 kB / 1.344 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.192, allocations: 0 / 1.344 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006074/1.192, allocations: 254.8 kB / 1.344 GB, free: 9.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/1.193, allocations: 122.8 kB / 1.344 GB, free: 9.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/1.198, allocations: 2.813 MB / 1.347 GB, free: 8.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/1.199, allocations: 0.7767 MB / 1.348 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002313/1.199, allocations: 60.5 kB / 1.348 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/1.199, allocations: 80.44 kB / 1.348 GB, free: 7.324 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/1.199, allocations: 0 / 1.348 GB, free: 7.324 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/1.233, allocations: 8.692 MB / 1.357 GB, free: 4.738 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.82, allocations: 2.156 kB / 1.357 GB, free: 4.738 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 & 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