Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_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.001141/0.001141, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.904/2.904, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 74.27 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3009, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.172/0.4729, allocations: 165.3 MB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003539/0.4765, allocations: 1.549 MB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004218/0.4769, allocations: 11.94 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.4775, allocations: 138.9 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.4788, allocations: 469.8 kB / 1.227 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.4807, allocations: 0.7644 MB / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.4815, allocations: 0.6942 MB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.482, allocations: 262.7 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.4825, allocations: 306.8 kB / 1.229 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.4828, allocations: 235 kB / 1.229 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.4828, allocations: 24 kB / 1.229 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.4844, allocations: 0.8613 MB / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.4845, allocations: 111.7 kB / 1.23 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.4847, allocations: 159.1 kB / 1.23 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.4858, allocations: 0.7286 MB / 1.231 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4858, allocations: 0 / 1.231 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.849e-06/0.4858, allocations: 3.984 kB / 1.231 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.4858, allocations: 4 kB / 1.231 GB, free: 2.297 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.001197/0.487, allocations: 0.6701 MB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4871, allocations: 12.03 kB / 1.232 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.4871, allocations: 66.48 kB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005022/0.4876, allocations: 79.5 kB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.488, allocations: 309.8 kB / 1.232 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4881, allocations: 16.56 kB / 1.232 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.4881, allocations: 24 kB / 1.232 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.4888, allocations: 328.2 kB / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4888, allocations: 0 / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.4888, allocations: 19.94 kB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4888, allocations: 4 kB / 1.233 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.4896, allocations: 285.5 kB / 1.233 GB, free: 408 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.001601/0.4912, allocations: 1.067 MB / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.4921, allocations: 331.6 kB / 1.234 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.4924, allocations: 136.8 kB / 1.234 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/0.4931, allocations: 392.3 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.4931, allocations: 34.55 kB / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.4931, allocations: 0 / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001221/0.4943, allocations: 414.2 kB / 1.235 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4944, allocations: 51.41 kB / 1.235 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.4946, allocations: 271 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4947, allocations: 29.7 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4948, allocations: 172.2 kB / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.4948, allocations: 70.94 kB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.4949, allocations: 41.7 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4951, allocations: 338.8 kB / 1.236 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.4954, allocations: 107.9 kB / 1.236 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.4957, allocations: 160.3 kB / 1.236 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.4964, allocations: 270.9 kB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4964, allocations: 4 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007354/0.4971, allocations: 309 kB / 1.237 GB, free: 12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4971, allocations: 8 kB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4972, allocations: 4.156 kB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4972, allocations: 7.938 kB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.4975, allocations: 55.95 kB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.4975, allocations: 4 kB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.4977, allocations: 43.66 kB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.4978, allocations: 4 kB / 1.237 GB, free: 11.87 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.0001631/0.4979, allocations: 157.8 kB / 1.237 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.498, allocations: 23.72 kB / 1.237 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008061/0.4988, allocations: 321.4 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4988, allocations: 0 / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4988, allocations: 4.062 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4989, allocations: 7.984 kB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.5004, allocations: 0.9307 MB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5004, allocations: 7.984 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.5006, allocations: 51.91 kB / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5007, allocations: 0 / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.5007, allocations: 4.188 kB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5007, allocations: 11.94 kB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5007, allocations: 3.984 kB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.5018, allocations: 0.5643 MB / 1.239 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.5019, allocations: 124.7 kB / 1.239 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.502, allocations: 4.062 kB / 1.239 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.5022, allocations: 23.97 kB / 1.239 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.5023, allocations: 19.92 kB / 1.239 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.5023, allocations: 8 kB / 1.239 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001764/0.5025, allocations: 197.9 kB / 1.239 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5025, allocations: 0 / 1.239 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004419/0.5029, allocations: 103.8 kB / 1.24 GB, free: 9.152 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.001669/0.5046, allocations: 1.197 MB / 1.241 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007099/0.5053, allocations: 269.4 kB / 1.241 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5054, allocations: 4.062 kB / 1.241 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.5057, allocations: 139 kB / 1.241 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.5065, allocations: 133 kB / 1.241 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.5105, allocations: 2.982 MB / 1.244 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.5108, allocations: 0.7792 MB / 1.245 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002387/0.5111, allocations: 58.27 kB / 1.245 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.5112, allocations: 87.41 kB / 1.245 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.5112, allocations: 0 / 1.245 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5133/1.025, allocations: 8.864 MB / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.906, allocations: 6.719 kB / 1.254 GB, free: 188.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches