Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001764/0.001764, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002305/0.002305, allocations: 217.6 kB / 22.25 MB, free: 4.852 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.022/3.022, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_11_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.002111/0.002111, allocations: 67.41 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1982/0.5206, allocations: 145.7 MB / 1.425 GB, free: 10.17 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003637/0.5242, allocations: 1.482 MB / 1.426 GB, free: 8.684 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004828/0.5247, allocations: 11.88 kB / 1.426 GB, free: 8.672 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.5254, allocations: 154.9 kB / 1.426 GB, free: 8.52 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.527, allocations: 473.9 kB / 1.427 GB, free: 8.055 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.5295, allocations: 0.7678 MB / 1.428 GB, free: 7.289 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.5306, allocations: 0.7136 MB / 1.428 GB, free: 6.57 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/0.531, allocations: 203 kB / 1.429 GB, free: 6.371 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007605/0.5318, allocations: 322.8 kB / 1.429 GB, free: 6.055 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.5323, allocations: 231 kB / 1.429 GB, free: 5.828 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/0.5324, allocations: 28 kB / 1.429 GB, free: 5.801 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.534, allocations: 0.7442 MB / 1.43 GB, free: 5.055 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.5342, allocations: 119.6 kB / 1.43 GB, free: 4.938 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.5344, allocations: 123.5 kB / 1.43 GB, free: 4.816 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.5359, allocations: 0.7198 MB / 1.431 GB, free: 4.098 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5359, allocations: 4 kB / 1.431 GB, free: 4.094 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5359, allocations: 3.938 kB / 1.431 GB, free: 4.09 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.536, allocations: 0 / 1.431 GB, free: 4.09 MB / 1.123 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.001322/0.5373, allocations: 0.6135 MB / 1.431 GB, free: 3.445 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5373, allocations: 12.03 kB / 1.431 GB, free: 3.434 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.113e-05/0.5374, allocations: 58.55 kB / 1.431 GB, free: 3.367 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005281/0.5379, allocations: 87.69 kB / 1.432 GB, free: 3.281 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.5385, allocations: 260 kB / 1.432 GB, free: 3.004 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.5385, allocations: 20.5 kB / 1.432 GB, free: 2.98 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.5386, allocations: 24 kB / 1.432 GB, free: 2.957 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007263/0.5393, allocations: 353.1 kB / 1.432 GB, free: 2.598 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5393, allocations: 3.938 kB / 1.432 GB, free: 2.594 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.5393, allocations: 11.94 kB / 1.432 GB, free: 2.582 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5393, allocations: 4 kB / 1.432 GB, free: 2.578 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.5401, allocations: 285.5 kB / 1.432 GB, free: 2.301 MB / 1.123 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.001838/0.542, allocations: 0.9819 MB / 1.433 GB, free: 1.262 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/0.5429, allocations: 234.6 kB / 1.434 GB, free: 1.023 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.5432, allocations: 124.8 kB / 1.434 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/0.5438, allocations: 87.89 kB / 1.434 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5438, allocations: 34.56 kB / 1.434 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.933e-06/0.5438, allocations: 0 / 1.434 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001286/0.5451, allocations: 411.2 kB / 1.434 GB, free: 372 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.5452, allocations: 55.41 kB / 1.434 GB, free: 304 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.5455, allocations: 272.2 kB / 1.435 GB, free: 20 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/0.5455, allocations: 33.7 kB / 1.435 GB, free: 15.98 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.5457, allocations: 168.4 kB / 1.435 GB, free: 15.81 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.5458, allocations: 75.27 kB / 1.435 GB, free: 15.74 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/0.5459, allocations: 49.7 kB / 1.435 GB, free: 15.68 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.5461, allocations: 338.8 kB / 1.435 GB, free: 15.34 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.5464, allocations: 99.91 kB / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.5469, allocations: 250 kB / 1.436 GB, free: 14.96 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.5476, allocations: 270.9 kB / 1.436 GB, free: 14.68 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5476, allocations: 0 / 1.436 GB, free: 14.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008656/0.5484, allocations: 321.3 kB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5485, allocations: 4 kB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5485, allocations: 0 / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.5485, allocations: 7.938 kB / 1.436 GB, free: 14.35 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.5488, allocations: 55.89 kB / 1.436 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.5488, allocations: 4 kB / 1.436 GB, free: 14.29 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.5491, allocations: 39.92 kB / 1.436 GB, free: 14.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.5491, allocations: 12 kB / 1.436 GB, free: 14.24 MB / 1.139 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.0002158/0.5493, allocations: 157.8 kB / 1.436 GB, free: 14.08 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.5494, allocations: 27.81 kB / 1.436 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009003/0.5503, allocations: 321.9 kB / 1.437 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.5503, allocations: 4 kB / 1.437 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.5503, allocations: 0 / 1.437 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5503, allocations: 4 kB / 1.437 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.552, allocations: 0.7404 MB / 1.437 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.5521, allocations: 4 kB / 1.437 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.5523, allocations: 55.89 kB / 1.438 GB, free: 12.85 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.5523, allocations: 0 / 1.438 GB, free: 12.85 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.5523, allocations: 4 kB / 1.438 GB, free: 12.85 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.5524, allocations: 4 kB / 1.438 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5524, allocations: 0 / 1.438 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.5535, allocations: 0.5627 MB / 1.438 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.5537, allocations: 51.77 kB / 1.438 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.5537, allocations: 3.984 kB / 1.438 GB, free: 12.19 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.554, allocations: 24.05 kB / 1.438 GB, free: 12.17 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.5541, allocations: 23.91 kB / 1.438 GB, free: 12.14 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.5541, allocations: 11.98 kB / 1.438 GB, free: 12.13 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002107/0.5543, allocations: 195.1 kB / 1.438 GB, free: 11.95 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5543, allocations: 0 / 1.438 GB, free: 11.95 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004743/0.5548, allocations: 111.7 kB / 1.438 GB, free: 11.84 MB / 1.139 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.001922/0.5567, allocations: 1.195 MB / 1.44 GB, free: 10.6 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0007485/0.5574, allocations: 251.6 kB / 1.44 GB, free: 10.35 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5574, allocations: 0 / 1.44 GB, free: 10.35 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.5578, allocations: 132.5 kB / 1.44 GB, free: 10.22 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.5586, allocations: 133 kB / 1.44 GB, free: 10.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.5634, allocations: 2.977 MB / 1.443 GB, free: 6.965 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.5636, allocations: 170.8 kB / 1.443 GB, free: 6.777 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002503/0.5639, allocations: 62.23 kB / 1.443 GB, free: 6.719 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.564, allocations: 91.41 kB / 1.443 GB, free: 6.633 MB / 1.139 GB Notification: Performance of SimCode: time 9.62e-07/0.564, allocations: 0 / 1.443 GB, free: 6.633 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/0.6108, allocations: 10.06 MB / 1.453 GB, free: 12.84 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.45, allocations: 3.922 kB / 1.453 GB, free: 12.84 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable relHum.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! Error: Could not read variable senRelHum.phi in file Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable senRelHum.phi from file Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.75694727571681]