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.001485/0.001485, allocations: 106.4 kB / 18.94 MB, free: 2.957 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.001626/0.001626, allocations: 219 kB / 22.25 MB, free: 5.133 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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 2.878/2.878, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.00186/0.00186, allocations: 66.52 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2756, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1802/0.4558, allocations: 168.9 MB / 1.491 GB, free: 8.449 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.4586, allocations: 1.563 MB / 1.492 GB, free: 6.883 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.4588, allocations: 11.88 kB / 1.492 GB, free: 6.871 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.4593, allocations: 150.9 kB / 1.493 GB, free: 6.723 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.4604, allocations: 493.8 kB / 1.493 GB, free: 6.238 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.4621, allocations: 0.7894 MB / 1.494 GB, free: 5.449 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008001/0.4629, allocations: 0.7176 MB / 1.494 GB, free: 4.727 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.4633, allocations: 211 kB / 1.495 GB, free: 4.516 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008567/0.4641, allocations: 478.4 kB / 1.495 GB, free: 4.047 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.4645, allocations: 246.9 kB / 1.495 GB, free: 3.805 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.4645, allocations: 24 kB / 1.495 GB, free: 3.781 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.4659, allocations: 0.9198 MB / 1.496 GB, free: 2.859 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.466, allocations: 123.6 kB / 1.496 GB, free: 2.738 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.4662, allocations: 159.2 kB / 1.497 GB, free: 2.582 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.4673, allocations: 0.7477 MB / 1.497 GB, free: 1.832 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4673, allocations: 0 / 1.497 GB, free: 1.832 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4673, allocations: 0 / 1.497 GB, free: 1.832 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4673, allocations: 4 kB / 1.497 GB, free: 1.828 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.001038/0.4683, allocations: 0.6112 MB / 1.498 GB, free: 1.188 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4683, allocations: 16.03 kB / 1.498 GB, free: 1.172 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.796e-05/0.4684, allocations: 62.47 kB / 1.498 GB, free: 1.102 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.4689, allocations: 87.64 kB / 1.498 GB, free: 1.016 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.4693, allocations: 240.2 kB / 1.498 GB, free: 0.75 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.4693, allocations: 20.5 kB / 1.498 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.4693, allocations: 24 kB / 1.498 GB, free: 0.707 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.47, allocations: 339.3 kB / 1.499 GB, free: 372 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.47, allocations: 0 / 1.499 GB, free: 372 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.47, allocations: 11.94 kB / 1.499 GB, free: 360 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.47, allocations: 4 kB / 1.499 GB, free: 356 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.4707, allocations: 277.5 kB / 1.499 GB, free: 80 kB / 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.001594/0.4723, allocations: 1.044 MB / 1.5 GB, free: 14.97 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008114/0.4731, allocations: 226.6 kB / 1.5 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.4734, allocations: 132.8 kB / 1.5 GB, free: 14.61 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/0.4739, allocations: 91.84 kB / 1.5 GB, free: 14.52 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4739, allocations: 30.56 kB / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.4739, allocations: 0 / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001116/0.4751, allocations: 414.8 kB / 1.501 GB, free: 14.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.4751, allocations: 55.41 kB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.4754, allocations: 268.2 kB / 1.501 GB, free: 13.73 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.4754, allocations: 25.7 kB / 1.501 GB, free: 13.7 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.4755, allocations: 176.3 kB / 1.501 GB, free: 13.53 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.4756, allocations: 71.41 kB / 1.501 GB, free: 13.46 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.4756, allocations: 49.7 kB / 1.501 GB, free: 13.4 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4758, allocations: 334.8 kB / 1.502 GB, free: 13.07 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.4761, allocations: 103.9 kB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.4764, allocations: 165.8 kB / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.477, allocations: 274.2 kB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.477, allocations: 4.062 kB / 1.502 GB, free: 12.49 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006979/0.4777, allocations: 317.2 kB / 1.503 GB, free: 12.18 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4777, allocations: 8 kB / 1.503 GB, free: 12.17 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4777, allocations: 0 / 1.503 GB, free: 12.17 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4777, allocations: 11.88 kB / 1.503 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.478, allocations: 59.89 kB / 1.503 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.478, allocations: 4 kB / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.4782, allocations: 43.92 kB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.4782, allocations: 8 kB / 1.503 GB, free: 12.04 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.0001477/0.4784, allocations: 153.8 kB / 1.503 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.4784, allocations: 31.81 kB / 1.503 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007416/0.4792, allocations: 321.5 kB / 1.503 GB, free: 11.53 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4792, allocations: 4 kB / 1.503 GB, free: 11.53 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4792, allocations: 0 / 1.503 GB, free: 11.53 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4792, allocations: 0 / 1.503 GB, free: 11.53 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.4806, allocations: 0.8256 MB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4806, allocations: 0 / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.4809, allocations: 56.08 kB / 1.504 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.4809, allocations: 4 kB / 1.504 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.4809, allocations: 8 kB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4809, allocations: 0 / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4809, allocations: 4 kB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4819, allocations: 0.5643 MB / 1.505 GB, free: 9.953 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.482, allocations: 47.8 kB / 1.505 GB, free: 9.906 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.4821, allocations: 8 kB / 1.505 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.4823, allocations: 19.97 kB / 1.505 GB, free: 9.879 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.4824, allocations: 31.78 kB / 1.505 GB, free: 9.848 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.4824, allocations: 12 kB / 1.505 GB, free: 9.836 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001773/0.4825, allocations: 195.1 kB / 1.505 GB, free: 9.645 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4825, allocations: 0 / 1.505 GB, free: 9.645 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004066/0.483, allocations: 111.8 kB / 1.505 GB, free: 9.535 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.001557/0.4845, allocations: 1.182 MB / 1.506 GB, free: 8.309 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006721/0.4852, allocations: 249.5 kB / 1.506 GB, free: 8.066 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4852, allocations: 0 / 1.506 GB, free: 8.066 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.4855, allocations: 131.8 kB / 1.507 GB, free: 7.938 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000698/0.4862, allocations: 151.5 kB / 1.507 GB, free: 7.797 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.4903, allocations: 2.971 MB / 1.51 GB, free: 4.684 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.4907, allocations: 0.783 MB / 1.51 GB, free: 3.875 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.4909, allocations: 58.27 kB / 1.51 GB, free: 3.812 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.4911, allocations: 91.39 kB / 1.51 GB, free: 3.723 MB / 1.201 GB Notification: Performance of SimCode: time 6.81e-07/0.4911, allocations: 0 / 1.51 GB, free: 3.723 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.53, allocations: 9.222 MB / 1.519 GB, free: 10.71 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.79, allocations: 1.5 kB / 1.519 GB, free: 10.71 MB / 1.217 GB " [Timeout remaining time 289] (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: 16.74409226700118]