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.006133/0.006133, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001245/0.001245, allocations: 186.9 kB / 16.67 MB, free: 5.887 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.305/2.305, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8177, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1899/1.008, allocations: 165.3 MB / 1.249 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002971/1.011, allocations: 1.554 MB / 1.25 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/1.011, allocations: 11.94 kB / 1.25 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005013/1.011, allocations: 150.9 kB / 1.251 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/1.013, allocations: 457.9 kB / 1.251 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/1.015, allocations: 0.7619 MB / 1.252 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007958/1.015, allocations: 0.702 MB / 1.252 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/1.016, allocations: 262.6 kB / 1.253 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/1.016, allocations: 306.8 kB / 1.253 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/1.017, allocations: 231.1 kB / 1.253 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.304e-05/1.017, allocations: 24 kB / 1.253 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/1.018, allocations: 0.8691 MB / 1.254 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/1.018, allocations: 107.7 kB / 1.254 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/1.019, allocations: 167.2 kB / 1.254 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/1.02, allocations: 0.7247 MB / 1.255 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.02, allocations: 7.984 kB / 1.255 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/1.02, allocations: 0 / 1.255 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.02, allocations: 0 / 1.255 GB, free: 2.16 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.001091/1.021, allocations: 0.6818 MB / 1.256 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.021, allocations: 12.03 kB / 1.256 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/1.021, allocations: 54.55 kB / 1.256 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005072/1.021, allocations: 87.5 kB / 1.256 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/1.022, allocations: 317.8 kB / 1.256 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/1.022, allocations: 20.56 kB / 1.256 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/1.022, allocations: 27.94 kB / 1.256 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/1.023, allocations: 332.2 kB / 1.257 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.023, allocations: 0 / 1.257 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/1.023, allocations: 7.938 kB / 1.257 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.023, allocations: 8 kB / 1.257 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/1.024, allocations: 289.5 kB / 1.257 GB, free: 236 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.001799/1.025, allocations: 1.055 MB / 1.258 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/1.026, allocations: 331.6 kB / 1.258 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/1.027, allocations: 136.8 kB / 1.258 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006636/1.027, allocations: 400.3 kB / 1.259 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.027, allocations: 38.56 kB / 1.259 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/1.027, allocations: 0 / 1.259 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.00129/1.029, allocations: 410.7 kB / 1.259 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/1.029, allocations: 55.34 kB / 1.259 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/1.029, allocations: 267 kB / 1.259 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/1.029, allocations: 33.7 kB / 1.259 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/1.029, allocations: 168.2 kB / 1.26 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/1.029, allocations: 66.95 kB / 1.26 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/1.029, allocations: 45.7 kB / 1.26 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.029, allocations: 338.8 kB / 1.26 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/1.03, allocations: 99.91 kB / 1.26 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/1.03, allocations: 167.3 kB / 1.26 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/1.031, allocations: 267.1 kB / 1.261 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.031, allocations: 0 / 1.261 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007598/1.031, allocations: 313.1 kB / 1.261 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.032, allocations: 4 kB / 1.261 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.032, allocations: 4 kB / 1.261 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.032, allocations: 8.094 kB / 1.261 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/1.032, allocations: 59.89 kB / 1.261 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.032, allocations: 0 / 1.261 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/1.032, allocations: 47.66 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/1.032, allocations: 8 kB / 1.261 GB, free: 11.71 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.0001485/1.032, allocations: 154.3 kB / 1.261 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/1.032, allocations: 23.72 kB / 1.261 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/1.033, allocations: 330.2 kB / 1.261 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/1.033, allocations: 0 / 1.261 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.033, allocations: 0 / 1.261 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.033, allocations: 0 / 1.261 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/1.035, allocations: 0.9325 MB / 1.262 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.035, allocations: 8 kB / 1.262 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/1.035, allocations: 47.91 kB / 1.262 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.035, allocations: 0 / 1.262 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/1.035, allocations: 11.98 kB / 1.262 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/1.035, allocations: 7.938 kB / 1.262 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.035, allocations: 0 / 1.262 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.036, allocations: 0.5664 MB / 1.263 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.036, allocations: 120.7 kB / 1.263 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/1.036, allocations: 8 kB / 1.263 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/1.037, allocations: 23.97 kB / 1.263 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/1.037, allocations: 27.98 kB / 1.263 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/1.037, allocations: 11.98 kB / 1.263 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001687/1.037, allocations: 194 kB / 1.263 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 0 / 1.263 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004605/1.037, allocations: 103.8 kB / 1.263 GB, free: 8.984 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.0018/1.039, allocations: 1.193 MB / 1.265 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007525/1.04, allocations: 263.6 kB / 1.265 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.04, allocations: 0 / 1.265 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003713/1.04, allocations: 140.5 kB / 1.265 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/1.041, allocations: 132.5 kB / 1.265 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/1.046, allocations: 2.959 MB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/1.046, allocations: 0.7793 MB / 1.269 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002348/1.046, allocations: 66.23 kB / 1.269 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.046, allocations: 91.41 kB / 1.269 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.046, allocations: 4 kB / 1.269 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/1.076, allocations: 8.946 MB / 1.278 GB, free: 10.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.976, allocations: 4.703 kB / 1.278 GB, free: 10.4 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