Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001545/0.001545, allocations: 103 kB / 16.45 MB, free: 6.449 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.001685/0.001685, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.047/3.047, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_12_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.002032/0.002032, allocations: 78.47 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3179, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.194/0.5119, allocations: 168.7 MB / 1.486 GB, free: 9.996 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.5154, allocations: 1.547 MB / 1.487 GB, free: 8.445 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.5158, allocations: 11.88 kB / 1.487 GB, free: 8.434 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.5164, allocations: 150.9 kB / 1.487 GB, free: 8.285 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.518, allocations: 481.9 kB / 1.488 GB, free: 7.812 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.5203, allocations: 0.7735 MB / 1.488 GB, free: 7.039 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.5214, allocations: 0.702 MB / 1.489 GB, free: 6.332 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005015/0.5219, allocations: 226.6 kB / 1.489 GB, free: 6.113 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.523, allocations: 474.4 kB / 1.49 GB, free: 5.648 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.5234, allocations: 235.1 kB / 1.49 GB, free: 5.418 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/0.5235, allocations: 24 kB / 1.49 GB, free: 5.395 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.5251, allocations: 0.908 MB / 1.491 GB, free: 4.484 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.5253, allocations: 119.6 kB / 1.491 GB, free: 4.367 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.5255, allocations: 155.2 kB / 1.491 GB, free: 4.215 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.5269, allocations: 0.7553 MB / 1.492 GB, free: 3.457 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5269, allocations: 4 kB / 1.492 GB, free: 3.453 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5269, allocations: 0 / 1.492 GB, free: 3.453 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5269, allocations: 0 / 1.492 GB, free: 3.453 MB / 1.186 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.001238/0.5282, allocations: 0.6849 MB / 1.493 GB, free: 2.715 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5282, allocations: 15.98 kB / 1.493 GB, free: 2.699 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.512e-05/0.5283, allocations: 62.55 kB / 1.493 GB, free: 2.629 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005092/0.5288, allocations: 83.64 kB / 1.493 GB, free: 2.547 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.5293, allocations: 318.1 kB / 1.493 GB, free: 2.191 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.5293, allocations: 16.56 kB / 1.493 GB, free: 2.176 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.5294, allocations: 24 kB / 1.493 GB, free: 2.152 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/0.5301, allocations: 328.2 kB / 1.493 GB, free: 1.816 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5301, allocations: 4 kB / 1.493 GB, free: 1.812 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.5301, allocations: 19.88 kB / 1.493 GB, free: 1.793 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.5301, allocations: 4 kB / 1.493 GB, free: 1.789 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.5309, allocations: 285.5 kB / 1.494 GB, free: 1.512 MB / 1.186 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.001732/0.5326, allocations: 1.071 MB / 1.495 GB, free: 384 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.5335, allocations: 311.7 kB / 1.495 GB, free: 44 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.5339, allocations: 128.8 kB / 1.495 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/0.5346, allocations: 388.3 kB / 1.496 GB, free: 15.46 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.5346, allocations: 38.56 kB / 1.496 GB, free: 15.41 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.853e-06/0.5346, allocations: 0 / 1.496 GB, free: 15.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001267/0.5359, allocations: 418.6 kB / 1.496 GB, free: 15 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.5359, allocations: 55.41 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.5362, allocations: 263 kB / 1.496 GB, free: 14.67 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.5362, allocations: 33.7 kB / 1.496 GB, free: 14.63 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.5364, allocations: 168.3 kB / 1.497 GB, free: 14.46 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.5364, allocations: 67.42 kB / 1.497 GB, free: 14.39 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.284e-05/0.5365, allocations: 49.7 kB / 1.497 GB, free: 14.34 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5367, allocations: 338.8 kB / 1.497 GB, free: 14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.537, allocations: 103.9 kB / 1.497 GB, free: 13.9 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.5374, allocations: 163.9 kB / 1.497 GB, free: 13.72 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.538, allocations: 274.8 kB / 1.497 GB, free: 13.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.538, allocations: 0 / 1.497 GB, free: 13.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008096/0.5389, allocations: 321.2 kB / 1.498 GB, free: 13.11 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5389, allocations: 4 kB / 1.498 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5389, allocations: 3.984 kB / 1.498 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5389, allocations: 7.938 kB / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.5392, allocations: 55.89 kB / 1.498 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.5392, allocations: 4 kB / 1.498 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.5395, allocations: 43.92 kB / 1.498 GB, free: 13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.5395, allocations: 12 kB / 1.498 GB, free: 12.98 MB / 1.201 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.0001654/0.5397, allocations: 145.8 kB / 1.498 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.5397, allocations: 31.8 kB / 1.498 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000854/0.5406, allocations: 325.4 kB / 1.498 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5406, allocations: 4 kB / 1.498 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5406, allocations: 0 / 1.498 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5406, allocations: 3.984 kB / 1.498 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.5422, allocations: 0.9244 MB / 1.499 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5422, allocations: 0 / 1.499 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.5425, allocations: 52.08 kB / 1.499 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5425, allocations: 8 kB / 1.499 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.5425, allocations: 8.062 kB / 1.499 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5425, allocations: 4 kB / 1.499 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5425, allocations: 4 kB / 1.499 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.5437, allocations: 0.5718 MB / 1.5 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.5439, allocations: 124.9 kB / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.5439, allocations: 8 kB / 1.5 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.5441, allocations: 19.97 kB / 1.5 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.5442, allocations: 19.92 kB / 1.5 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.5442, allocations: 8 kB / 1.5 GB, free: 10.56 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001881/0.5444, allocations: 193.9 kB / 1.5 GB, free: 10.38 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5444, allocations: 8 kB / 1.5 GB, free: 10.37 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004572/0.5449, allocations: 111.8 kB / 1.5 GB, free: 10.26 MB / 1.201 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.001794/0.5467, allocations: 1.184 MB / 1.502 GB, free: 9.031 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007654/0.5474, allocations: 251.9 kB / 1.502 GB, free: 8.785 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5474, allocations: 4.062 kB / 1.502 GB, free: 8.781 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.5478, allocations: 131.8 kB / 1.502 GB, free: 8.652 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.5486, allocations: 134.9 kB / 1.502 GB, free: 8.523 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.553, allocations: 2.972 MB / 1.505 GB, free: 5.402 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.5534, allocations: 0.7792 MB / 1.506 GB, free: 4.598 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.5537, allocations: 70.23 kB / 1.506 GB, free: 4.527 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.5538, allocations: 91.41 kB / 1.506 GB, free: 4.438 MB / 1.201 GB Notification: Performance of SimCode: time 5.31e-07/0.5538, allocations: 0 / 1.506 GB, free: 4.438 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.5913, allocations: 8.976 MB / 1.515 GB, free: 11.63 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.892, allocations: 9.188 kB / 1.515 GB, free: 11.63 MB / 1.217 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable relHum.port_a.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! Error: Could not read variable senRelHum.phi in file Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv. Warning: Get data of variable senRelHum.phi from file Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.215260003926232]