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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 105.9 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.373/1.373, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.083/3.083, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 73.27 kB / 1.172 GB, free: 17.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 180.2 MB / 1.348 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1982/0.5387, allocations: 168.7 MB / 1.513 GB, free: 0.6172 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003087/0.5418, allocations: 1.55 MB / 1.514 GB, free: 15.06 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.5421, allocations: 15.88 kB / 1.514 GB, free: 15.05 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.5426, allocations: 146.9 kB / 1.514 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.5439, allocations: 489.8 kB / 1.515 GB, free: 14.42 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.5458, allocations: 0.7713 MB / 1.515 GB, free: 13.65 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008841/0.5467, allocations: 0.6981 MB / 1.516 GB, free: 12.95 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.5471, allocations: 230.7 kB / 1.516 GB, free: 12.72 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000926/0.548, allocations: 470.3 kB / 1.517 GB, free: 12.26 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.5483, allocations: 243 kB / 1.517 GB, free: 12.02 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.5483, allocations: 24 kB / 1.517 GB, free: 12 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.55, allocations: 0.9081 MB / 1.518 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.5501, allocations: 111.6 kB / 1.518 GB, free: 10.98 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.5503, allocations: 167.1 kB / 1.518 GB, free: 10.82 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.5518, allocations: 0.7515 MB / 1.519 GB, free: 10.06 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5518, allocations: 3.938 kB / 1.519 GB, free: 10.06 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5518, allocations: 0 / 1.519 GB, free: 10.06 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.5518, allocations: 0 / 1.519 GB, free: 10.06 MB / 1.217 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.001473/0.5533, allocations: 0.681 MB / 1.52 GB, free: 9.324 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5534, allocations: 15.98 kB / 1.52 GB, free: 9.309 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.313e-05/0.5535, allocations: 58.55 kB / 1.52 GB, free: 9.242 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005629/0.554, allocations: 91.56 kB / 1.52 GB, free: 9.152 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.5545, allocations: 322 kB / 1.52 GB, free: 8.801 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.5546, allocations: 20.56 kB / 1.52 GB, free: 8.781 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.5546, allocations: 20 kB / 1.52 GB, free: 8.762 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.5554, allocations: 336.2 kB / 1.52 GB, free: 8.414 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5554, allocations: 0 / 1.52 GB, free: 8.414 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.5554, allocations: 15.94 kB / 1.52 GB, free: 8.398 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5554, allocations: 8 kB / 1.52 GB, free: 8.391 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.5562, allocations: 285.5 kB / 1.521 GB, free: 8.113 MB / 1.217 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.001897/0.5581, allocations: 1.059 MB / 1.522 GB, free: 6.988 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009644/0.5591, allocations: 315.7 kB / 1.522 GB, free: 6.652 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.5594, allocations: 124.8 kB / 1.522 GB, free: 6.527 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007571/0.5602, allocations: 400.3 kB / 1.523 GB, free: 6.062 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.5602, allocations: 34.5 kB / 1.523 GB, free: 6.02 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.5602, allocations: 0 / 1.523 GB, free: 6.02 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.001343/0.5616, allocations: 411 kB / 1.523 GB, free: 5.613 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.5616, allocations: 51.41 kB / 1.523 GB, free: 5.551 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.5619, allocations: 271 kB / 1.523 GB, free: 5.281 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.562, allocations: 25.7 kB / 1.523 GB, free: 5.25 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.5621, allocations: 176.3 kB / 1.523 GB, free: 5.074 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.5622, allocations: 63.44 kB / 1.524 GB, free: 5.012 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.5623, allocations: 49.7 kB / 1.524 GB, free: 4.957 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5624, allocations: 334.8 kB / 1.524 GB, free: 4.621 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.5628, allocations: 103.9 kB / 1.524 GB, free: 4.52 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.5631, allocations: 167.3 kB / 1.524 GB, free: 4.336 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.5638, allocations: 273.8 kB / 1.524 GB, free: 4.051 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5638, allocations: 0 / 1.524 GB, free: 4.051 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008286/0.5647, allocations: 319.1 kB / 1.525 GB, free: 3.734 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5647, allocations: 8 kB / 1.525 GB, free: 3.727 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5647, allocations: 0 / 1.525 GB, free: 3.727 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.5647, allocations: 7.938 kB / 1.525 GB, free: 3.719 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.565, allocations: 55.89 kB / 1.525 GB, free: 3.664 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.565, allocations: 4.156 kB / 1.525 GB, free: 3.66 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.5653, allocations: 47.75 kB / 1.525 GB, free: 3.613 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.5653, allocations: 11.94 kB / 1.525 GB, free: 3.602 MB / 1.217 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.0001825/0.5655, allocations: 153.8 kB / 1.525 GB, free: 3.441 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.5656, allocations: 23.86 kB / 1.525 GB, free: 3.418 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009079/0.5665, allocations: 323.4 kB / 1.525 GB, free: 3.09 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5665, allocations: 0 / 1.525 GB, free: 3.09 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5665, allocations: 0 / 1.525 GB, free: 3.09 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.5665, allocations: 4 kB / 1.525 GB, free: 3.086 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.5683, allocations: 0.9291 MB / 1.526 GB, free: 2.051 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5683, allocations: 4.188 kB / 1.526 GB, free: 2.047 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.5686, allocations: 51.91 kB / 1.526 GB, free: 1.996 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5686, allocations: 64 / 1.526 GB, free: 1.996 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.5687, allocations: 15.98 kB / 1.526 GB, free: 1.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.5687, allocations: 4 kB / 1.526 GB, free: 1.977 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5687, allocations: 0 / 1.526 GB, free: 1.977 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.5699, allocations: 0.5638 MB / 1.527 GB, free: 1.379 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.5701, allocations: 128.8 kB / 1.527 GB, free: 1.234 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.5701, allocations: 4 kB / 1.527 GB, free: 1.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.5704, allocations: 19.97 kB / 1.527 GB, free: 1.211 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.5704, allocations: 23.86 kB / 1.527 GB, free: 1.188 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.5705, allocations: 20.05 kB / 1.527 GB, free: 1.168 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002013/0.5707, allocations: 190 kB / 1.527 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5707, allocations: 0 / 1.527 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004906/0.5712, allocations: 111.8 kB / 1.527 GB, free: 0.875 MB / 1.217 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.001917/0.5731, allocations: 1.192 MB / 1.528 GB, free: 15.64 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008015/0.5739, allocations: 247.9 kB / 1.529 GB, free: 15.4 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5739, allocations: 0 / 1.529 GB, free: 15.4 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.5743, allocations: 134 kB / 1.529 GB, free: 15.27 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.5751, allocations: 141.1 kB / 1.529 GB, free: 15.14 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/0.5799, allocations: 2.976 MB / 1.532 GB, free: 12.01 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.5803, allocations: 0.7753 MB / 1.533 GB, free: 11.21 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.5806, allocations: 70.23 kB / 1.533 GB, free: 11.14 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.5808, allocations: 87.41 kB / 1.533 GB, free: 11.05 MB / 1.232 GB Notification: Performance of SimCode: time 7.91e-07/0.5808, allocations: 0 / 1.533 GB, free: 11.05 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/0.6193, allocations: 9 MB / 1.542 GB, free: 2.223 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.893, allocations: 7.922 kB / 1.542 GB, free: 2.215 MB / 1.232 GB " [Timeout remaining time 291] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable relHum.port_a.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable relHum.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! Error: Could not read variable senRelHum.phi in file Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable senRelHum.phi from file Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.2740116531495]