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.001457/0.001457, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001363/0.001363, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.785 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.048/3.048, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.001945/0.001945, allocations: 70.45 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3577, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1743/0.532, allocations: 145.8 MB / 1.506 GB, free: 11.78 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003359/0.5354, allocations: 1.471 MB / 1.507 GB, free: 10.3 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.5359, allocations: 15.88 kB / 1.507 GB, free: 10.29 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.5365, allocations: 150.9 kB / 1.507 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.5382, allocations: 481.8 kB / 1.508 GB, free: 9.668 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.5405, allocations: 0.7626 MB / 1.509 GB, free: 8.906 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.5417, allocations: 0.7136 MB / 1.509 GB, free: 8.191 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/0.5421, allocations: 211 kB / 1.509 GB, free: 7.98 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.5433, allocations: 474.4 kB / 1.51 GB, free: 7.516 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.5437, allocations: 231 kB / 1.51 GB, free: 7.289 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.5438, allocations: 24 kB / 1.51 GB, free: 7.266 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.5453, allocations: 0.7286 MB / 1.511 GB, free: 6.535 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.5454, allocations: 127.6 kB / 1.511 GB, free: 6.41 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.5457, allocations: 131.3 kB / 1.511 GB, free: 6.281 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.5471, allocations: 0.7204 MB / 1.512 GB, free: 5.559 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5471, allocations: 0 / 1.512 GB, free: 5.559 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.552e-06/0.5471, allocations: 0 / 1.512 GB, free: 5.559 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.145e-05/0.5471, allocations: 3.984 kB / 1.512 GB, free: 5.555 MB / 1.201 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.001276/0.5484, allocations: 0.6096 MB / 1.512 GB, free: 4.914 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5485, allocations: 8.031 kB / 1.512 GB, free: 4.906 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.5485, allocations: 62.48 kB / 1.512 GB, free: 4.836 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.549, allocations: 87.64 kB / 1.513 GB, free: 4.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.5494, allocations: 256.2 kB / 1.513 GB, free: 4.477 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.5495, allocations: 16.5 kB / 1.513 GB, free: 4.461 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.5495, allocations: 24 kB / 1.513 GB, free: 4.438 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.5502, allocations: 361 kB / 1.513 GB, free: 4.066 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5502, allocations: 0 / 1.513 GB, free: 4.066 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.5502, allocations: 15.94 kB / 1.513 GB, free: 4.051 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5502, allocations: 4 kB / 1.513 GB, free: 4.047 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006804/0.5509, allocations: 277.5 kB / 1.513 GB, free: 3.773 MB / 1.201 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.001607/0.5525, allocations: 0.978 MB / 1.514 GB, free: 2.734 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008303/0.5534, allocations: 238.5 kB / 1.515 GB, free: 2.492 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.5537, allocations: 128.8 kB / 1.515 GB, free: 2.363 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/0.5542, allocations: 95.83 kB / 1.515 GB, free: 2.27 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.5542, allocations: 34.52 kB / 1.515 GB, free: 2.227 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.5542, allocations: 0 / 1.515 GB, free: 2.227 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001162/0.5554, allocations: 406.7 kB / 1.515 GB, free: 1.824 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.5554, allocations: 51.41 kB / 1.515 GB, free: 1.762 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.5557, allocations: 268.2 kB / 1.516 GB, free: 1.496 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.5557, allocations: 29.7 kB / 1.516 GB, free: 1.461 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.5558, allocations: 176.4 kB / 1.516 GB, free: 1.285 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/0.5559, allocations: 71.36 kB / 1.516 GB, free: 1.215 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.556, allocations: 53.66 kB / 1.516 GB, free: 1.156 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5561, allocations: 334.8 kB / 1.516 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.5564, allocations: 108 kB / 1.516 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.5568, allocations: 248.8 kB / 1.517 GB, free: 444 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.5574, allocations: 270.2 kB / 1.517 GB, free: 156 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5574, allocations: 0 / 1.517 GB, free: 156 kB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007222/0.5581, allocations: 319.8 kB / 1.517 GB, free: 15.83 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5581, allocations: 8 kB / 1.517 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5581, allocations: 0 / 1.517 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5582, allocations: 7.75 kB / 1.517 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.5584, allocations: 64.09 kB / 1.517 GB, free: 15.76 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.5584, allocations: 4 kB / 1.517 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5587, allocations: 43.8 kB / 1.517 GB, free: 15.71 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.5587, allocations: 11.98 kB / 1.517 GB, free: 15.7 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.0001449/0.5588, allocations: 145.8 kB / 1.517 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.5589, allocations: 31.81 kB / 1.517 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.5597, allocations: 319.5 kB / 1.518 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5597, allocations: 0 / 1.518 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5597, allocations: 4 kB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5597, allocations: 0 / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.5611, allocations: 0.7481 MB / 1.518 GB, free: 14.38 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5611, allocations: 4 kB / 1.518 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.5614, allocations: 51.83 kB / 1.519 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5614, allocations: 8.188 kB / 1.519 GB, free: 14.31 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.5614, allocations: 8 kB / 1.519 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5614, allocations: 4 kB / 1.519 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5614, allocations: 0 / 1.519 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.5625, allocations: 0.5614 MB / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.5626, allocations: 51.75 kB / 1.519 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5627, allocations: 8 kB / 1.519 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.5629, allocations: 23.97 kB / 1.519 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.563, allocations: 27.84 kB / 1.519 GB, free: 13.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.563, allocations: 12 kB / 1.519 GB, free: 13.59 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000216/0.5632, allocations: 187.1 kB / 1.519 GB, free: 13.4 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5632, allocations: 4 kB / 1.519 GB, free: 13.4 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004383/0.5637, allocations: 115.8 kB / 1.519 GB, free: 13.29 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.001642/0.5653, allocations: 1.174 MB / 1.521 GB, free: 12.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006874/0.566, allocations: 243.7 kB / 1.521 GB, free: 11.83 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.566, allocations: 4.312 kB / 1.521 GB, free: 11.82 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.5663, allocations: 134.2 kB / 1.521 GB, free: 11.7 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.5671, allocations: 143 kB / 1.521 GB, free: 11.56 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.5713, allocations: 2.966 MB / 1.524 GB, free: 8.453 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.5715, allocations: 175 kB / 1.524 GB, free: 8.262 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.5717, allocations: 66.23 kB / 1.524 GB, free: 8.195 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.5718, allocations: 87.41 kB / 1.524 GB, free: 8.109 MB / 1.217 GB Notification: Performance of SimCode: time 6.51e-07/0.5718, allocations: 0 / 1.524 GB, free: 8.109 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/0.6147, allocations: 10.06 MB / 1.534 GB, free: 14.31 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.23, allocations: 15.92 kB / 1.534 GB, free: 14.29 MB / 1.232 GB " [Timeout remaining time 289] (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: 17.60584432585165]