Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",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.007862/0.007862, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.001826/0.001826, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.248/2.248, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 63.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8698, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2226/1.092, allocations: 165.3 MB / 1.249 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003056/1.096, allocations: 1.555 MB / 1.25 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/1.096, allocations: 11.94 kB / 1.25 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/1.096, allocations: 150.9 kB / 1.251 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/1.098, allocations: 481.8 kB / 1.251 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/1.1, allocations: 0.7746 MB / 1.252 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008462/1.101, allocations: 0.7059 MB / 1.252 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/1.101, allocations: 266.5 kB / 1.253 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/1.102, allocations: 310.9 kB / 1.253 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/1.102, allocations: 231.1 kB / 1.253 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/1.102, allocations: 24 kB / 1.253 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/1.104, allocations: 0.873 MB / 1.254 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/1.104, allocations: 111.7 kB / 1.254 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/1.104, allocations: 159.2 kB / 1.254 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/1.105, allocations: 0.7474 MB / 1.255 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.105, allocations: 0 / 1.255 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/1.105, allocations: 0 / 1.255 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.459e-05/1.105, allocations: 4 kB / 1.255 GB, free: 2.133 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001208/1.106, allocations: 0.681 MB / 1.256 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.106, allocations: 8.031 kB / 1.256 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.346e-05/1.106, allocations: 58.55 kB / 1.256 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/1.107, allocations: 91.67 kB / 1.256 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/1.107, allocations: 314 kB / 1.256 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/1.107, allocations: 16.56 kB / 1.256 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/1.107, allocations: 27.98 kB / 1.256 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/1.108, allocations: 332.2 kB / 1.257 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.108, allocations: 0 / 1.257 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/1.108, allocations: 15.88 kB / 1.257 GB, free: 500 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/1.108, allocations: 8 kB / 1.257 GB, free: 492 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007154/1.109, allocations: 281.5 kB / 1.257 GB, free: 212 kB / 0.9825 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.001755/1.111, allocations: 1.063 MB / 1.258 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009541/1.112, allocations: 335.6 kB / 1.258 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/1.112, allocations: 128.8 kB / 1.258 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/1.113, allocations: 400.3 kB / 1.259 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/1.113, allocations: 38.56 kB / 1.259 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 3.446e-06/1.113, allocations: 3.984 kB / 1.259 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001568/1.114, allocations: 406.7 kB / 1.259 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/1.114, allocations: 55.41 kB / 1.259 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/1.115, allocations: 271 kB / 1.259 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/1.115, allocations: 33.7 kB / 1.259 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/1.115, allocations: 168.3 kB / 1.26 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/1.115, allocations: 67.44 kB / 1.26 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.115, allocations: 45.66 kB / 1.26 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.116, allocations: 338.8 kB / 1.26 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/1.116, allocations: 107.9 kB / 1.26 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/1.117, allocations: 163.1 kB / 1.26 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009906/1.118, allocations: 266.8 kB / 1.261 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.118, allocations: 0 / 1.261 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001174/1.119, allocations: 317.2 kB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.119, allocations: 4 kB / 1.261 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.119, allocations: 4 kB / 1.261 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.119, allocations: 4.094 kB / 1.261 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/1.119, allocations: 67.89 kB / 1.261 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.119, allocations: 0 / 1.261 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/1.12, allocations: 43.75 kB / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/1.12, allocations: 8 kB / 1.261 GB, free: 11.67 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002406/1.12, allocations: 154.3 kB / 1.261 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/1.12, allocations: 27.81 kB / 1.261 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/1.121, allocations: 318.3 kB / 1.262 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.121, allocations: 7.984 kB / 1.262 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.121, allocations: 0 / 1.262 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.121, allocations: 0 / 1.262 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/1.124, allocations: 0.9369 MB / 1.262 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.124, allocations: 4 kB / 1.262 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/1.124, allocations: 51.84 kB / 1.262 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/1.124, allocations: 4 kB / 1.262 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/1.124, allocations: 4 kB / 1.262 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/1.124, allocations: 7.984 kB / 1.262 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.124, allocations: 0 / 1.262 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/1.126, allocations: 0.5626 MB / 1.263 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/1.126, allocations: 128.9 kB / 1.263 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/1.126, allocations: 4 kB / 1.263 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/1.127, allocations: 28.03 kB / 1.263 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.127, allocations: 23.92 kB / 1.263 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/1.127, allocations: 8 kB / 1.263 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002885/1.127, allocations: 197.9 kB / 1.263 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.127, allocations: 3.938 kB / 1.263 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007865/1.128, allocations: 107.8 kB / 1.264 GB, free: 8.934 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002709/1.131, allocations: 1.185 MB / 1.265 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001113/1.132, allocations: 255.7 kB / 1.265 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.132, allocations: 0 / 1.265 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005426/1.133, allocations: 141.1 kB / 1.265 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/1.134, allocations: 138.6 kB / 1.265 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006501/1.14, allocations: 2.966 MB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/1.141, allocations: 0.791 MB / 1.269 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003674/1.141, allocations: 66.23 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/1.141, allocations: 91.41 kB / 1.269 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.141, allocations: 4 kB / 1.269 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/1.18, allocations: 8.932 MB / 1.278 GB, free: 10.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/9.313, allocations: 6.25 kB / 1.278 GB, free: 10.35 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches