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.001212/0.001212, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001332/0.001332, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.311/1.311, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] 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 2.907/2.907, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.001899/0.001899, allocations: 68.3 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2905, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1823/0.4728, allocations: 168.9 MB / 1.518 GB, free: 14.93 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.4756, allocations: 1.572 MB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.4759, allocations: 11.88 kB / 1.519 GB, free: 13.35 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.4763, allocations: 139 kB / 1.519 GB, free: 13.21 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.4775, allocations: 0.4901 MB / 1.52 GB, free: 12.72 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.4793, allocations: 0.8027 MB / 1.521 GB, free: 11.92 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0007851/0.4801, allocations: 0.7175 MB / 1.521 GB, free: 11.2 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.4804, allocations: 211.1 kB / 1.522 GB, free: 10.99 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000804/0.4812, allocations: 478.3 kB / 1.522 GB, free: 10.52 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.4815, allocations: 239.1 kB / 1.522 GB, free: 10.29 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.4816, allocations: 27.98 kB / 1.522 GB, free: 10.26 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.4829, allocations: 0.9276 MB / 1.523 GB, free: 9.328 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.483, allocations: 111.6 kB / 1.523 GB, free: 9.219 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.4832, allocations: 159.2 kB / 1.524 GB, free: 9.062 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0009559/0.4842, allocations: 0.7438 MB / 1.524 GB, free: 8.316 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4842, allocations: 7.922 kB / 1.524 GB, free: 8.309 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4842, allocations: 0 / 1.524 GB, free: 8.309 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.4842, allocations: 0 / 1.524 GB, free: 8.309 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.001014/0.4852, allocations: 0.6095 MB / 1.525 GB, free: 7.668 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4852, allocations: 12.03 kB / 1.525 GB, free: 7.656 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.51e-05/0.4853, allocations: 58.55 kB / 1.525 GB, free: 7.59 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.4857, allocations: 87.62 kB / 1.525 GB, free: 7.504 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.4862, allocations: 260.1 kB / 1.525 GB, free: 7.227 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4862, allocations: 20.5 kB / 1.525 GB, free: 7.207 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.4863, allocations: 24 kB / 1.525 GB, free: 7.184 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.4869, allocations: 327.4 kB / 1.526 GB, free: 6.844 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4869, allocations: 0 / 1.526 GB, free: 6.844 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.4869, allocations: 11.94 kB / 1.526 GB, free: 6.832 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4869, allocations: 8 kB / 1.526 GB, free: 6.824 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.4876, allocations: 289.5 kB / 1.526 GB, free: 6.539 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.001658/0.4893, allocations: 1.029 MB / 1.527 GB, free: 5.453 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.4901, allocations: 238.5 kB / 1.527 GB, free: 5.211 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.4904, allocations: 124.8 kB / 1.527 GB, free: 5.086 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005318/0.4909, allocations: 99.83 kB / 1.527 GB, free: 4.988 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.491, allocations: 30.56 kB / 1.527 GB, free: 4.949 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.491, allocations: 0 / 1.527 GB, free: 4.949 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.001171/0.4921, allocations: 415 kB / 1.528 GB, free: 4.539 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.4922, allocations: 51.41 kB / 1.528 GB, free: 4.477 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.4925, allocations: 268.2 kB / 1.528 GB, free: 4.203 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.4925, allocations: 29.7 kB / 1.528 GB, free: 4.168 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.4926, allocations: 172.4 kB / 1.528 GB, free: 3.996 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.4927, allocations: 67.44 kB / 1.528 GB, free: 3.93 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-05/0.4928, allocations: 49.7 kB / 1.528 GB, free: 3.875 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.493, allocations: 334.8 kB / 1.529 GB, free: 3.539 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.4932, allocations: 103.9 kB / 1.529 GB, free: 3.438 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.4936, allocations: 162.9 kB / 1.529 GB, free: 3.258 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.4942, allocations: 278.7 kB / 1.529 GB, free: 2.969 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4942, allocations: 0 / 1.529 GB, free: 2.969 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006788/0.4948, allocations: 314.6 kB / 1.53 GB, free: 2.656 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4949, allocations: 13.34 kB / 1.53 GB, free: 2.645 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4949, allocations: 0 / 1.53 GB, free: 2.645 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4949, allocations: 7.938 kB / 1.53 GB, free: 2.637 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.4951, allocations: 55.95 kB / 1.53 GB, free: 2.582 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4952, allocations: 8.094 kB / 1.53 GB, free: 2.574 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.4954, allocations: 47.75 kB / 1.53 GB, free: 2.527 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.4954, allocations: 8 kB / 1.53 GB, free: 2.52 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.000152/0.4956, allocations: 149.8 kB / 1.53 GB, free: 2.363 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.4956, allocations: 27.86 kB / 1.53 GB, free: 2.336 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.4964, allocations: 327.3 kB / 1.53 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4964, allocations: 4 kB / 1.53 GB, free: 2.004 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4964, allocations: 0 / 1.53 GB, free: 2.004 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4964, allocations: 0 / 1.53 GB, free: 2.004 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.4978, allocations: 0.8256 MB / 1.531 GB, free: 1.098 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4978, allocations: 8.172 kB / 1.531 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.4981, allocations: 51.91 kB / 1.531 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.4981, allocations: 4 kB / 1.531 GB, free: 1.035 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.4981, allocations: 4 kB / 1.531 GB, free: 1.031 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.4981, allocations: 4.062 kB / 1.531 GB, free: 1.027 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4981, allocations: 7.984 kB / 1.531 GB, free: 1.02 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.4992, allocations: 0.56 MB / 1.532 GB, free: 436 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.4993, allocations: 55.75 kB / 1.532 GB, free: 380 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.4993, allocations: 4 kB / 1.532 GB, free: 376 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.4995, allocations: 23.97 kB / 1.532 GB, free: 352 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.4996, allocations: 23.91 kB / 1.532 GB, free: 328 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.4996, allocations: 12.06 kB / 1.532 GB, free: 316 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001783/0.4998, allocations: 195 kB / 1.532 GB, free: 124 kB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4998, allocations: 0 / 1.532 GB, free: 124 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004119/0.5002, allocations: 111.8 kB / 1.532 GB, free: 12 kB / 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.00156/0.5017, allocations: 1.184 MB / 1.533 GB, free: 14.79 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006703/0.5024, allocations: 253.6 kB / 1.533 GB, free: 14.54 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5024, allocations: 0 / 1.533 GB, free: 14.54 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.5027, allocations: 134.2 kB / 1.533 GB, free: 14.41 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.5035, allocations: 129.2 kB / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.5075, allocations: 2.97 MB / 1.537 GB, free: 11.16 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.5079, allocations: 0.7792 MB / 1.537 GB, free: 10.36 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.5081, allocations: 70.23 kB / 1.537 GB, free: 10.29 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.5083, allocations: 87.41 kB / 1.537 GB, free: 10.2 MB / 1.232 GB Notification: Performance of SimCode: time 3.11e-07/0.5083, allocations: 0 / 1.537 GB, free: 10.2 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.5452, allocations: 9.213 MB / 1.546 GB, free: 1.199 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.76, allocations: 15.14 kB / 1.546 GB, free: 1.188 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: 16.761402441000428]